The relative of the minor told her to visit a temple in the nearby village, but had taken her to the crime site, police said