What is {holds position} of {government headed by} of {Frankfurt} ?
What is the holds position of the government headed by Frankfurt?
What is the holds position of the government headed by Frankfurt?
SELECT ?l WHERE { resource:Frankfurt_am_Main property:head_of_government ?h . ?h property:position_held ?l }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1794> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P6>. ?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/P39> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q1794 wdt:P6 ?X . ?X wdt:P39 ?answer}
mayor Lord Mayor