What is {has sons} of {daddy} of {Noel Tata} ?
Who {has children} of {daddy} {Noel Tata} ?
Who {has sons} of {daddy} {Noel Tata} ?
SELECT ?h WHERE { ?s property:child ?h . resource:Noel_Tata property:father ?s }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q12779926> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P22>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P40> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q12779926 wdt:P22 ?X . ?X wdt:P40 ?answer}
Ratan Tata Noel Tata Jimmy N Tata