What is {prime minister} of {active in} of {Theo van Doesburg} ?
Theo van Doesburg is the Prime Serve of what place?
Theo van Doesburg is the Prime Minister of what place?
SELECT ?x WHERE { resource:Theo_van_Doesburg property:work_location ?w . ?w property:head_of_government ?x }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q160422> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P937>. ?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:Q160422 wdt:P937 ?X . ?X wdt:P6 ?answer}
Anne Hidalgo Jan van Zanen Lucas Bolsius Peter Kleine Jeanne Barseghian Femke Halsema Eneko Goia Laso Johan Remkes Henri Lenferink Tarzisius Caviezel Petra van Wingerden-Boers Jean-Didier Berger Isabelle Mezières Denis Larghero