What is {headquarters} of {school attended} of {Emir Kusturica} ?
Where is the central station of the school gone to by Emir Kusturica?
Where is the headquarters of the school attended by Emir Kusturica?
SELECT ?u WHERE { resource:Emir_Kusturica property:educated_at ?e . ?e property:headquarters_location ?u }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q94882> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P69>. ?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/P159> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q94882 wdt:P69 ?X . ?X wdt:P159 ?answer}
Prague