What is {mayor} of {nationality} of {Johannes Eugenius Bülow Warming} ?
Who is the leader of the city Johannes Eugenius Bulow Warming was born in?
Who is the mayor of the city Johannes Eugenius Bulow Warming was born in?
SELECT ?w WHERE { resource:Johannes_Eugenius_Bülow_Warming property:country_of_citizenship ?a . ?a property:head_of_government ?w }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q355888> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P27>. ?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:Q355888 wdt:P27 ?X . ?X wdt:P6 ?answer}
Mette Frederiksen