Question: What is the party of the politicians whose children is Sanjay Gandhi ?
SPARQL query: SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/children> <http://dbpedia.org/resource/Sanjay_Gandhi> . ?x <http://dbpedia.org/ontology/party> ?uri  . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/OfficeHolder>}
Answer: The party of the politicians whose child is Sanjay Gandhi is [Indian National Congress].