What is {government headed by} of {workplace} of {Carl Theodor Dreyer} ?
Who is the government that heads the work environment of Carl Theodor Dreyer?
Who is the government that heads the workplace of Carl Theodor Dreyer?
SELECT ?j WHERE { resource:Carl_Theodor_Dreyer property:work_location ?v . ?v property:head_of_government ?j }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q51127> . ?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:Q51127 wdt:P937 ?X . ?X wdt:P6 ?answer}
Mette Frederiksen