What is {head of national government} of {death place} of {Jan Dismas Zelenka} ?
Where did the head of national government, Jan Dismas Zelenka, kick the bucket?
Where did the head of national government, Jan Dismas Zelenka, die?
SELECT ?s WHERE { ?q property:head_of_government ?s . resource:Jan_Dismas_Zelenka property:place_of_death ?q }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q157777> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P20>. ?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/P6> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q157777 wdt:P20 ?X . ?X wdt:P6 ?answer}
Dirk Hilbert