SELECT DISTINCT ?uri WHERE { <http://dbpedia.org/resource/Jawaharlal_Nehru> <http://dbpedia.org/ontology/child> ?x . ?x <http://dbpedia.org/ontology/party> ?uri . }
What is the political party of the daughter of Jawaharlal Nehru ?
SELECT DISTINCT ?y WHERE { ?w property:party ?y . . resource:Jawaharlal_Nehru property:child ?w }
Indian National Congress
The political party of the child of Jawaharlal Nehru is [Indian National Congress].
Jawaharlal Nehru's child's political party is [Indian National Congress].