What is {county seat} of {Austria}, that has {head of national government} is {Josef Neumayer} ?
What province situate does Josef Neumayer hold within the Austrian national government
What county seat does Josef Neumayer hold in the Austrian national government
SELECT ?g WHERE { ?g property:head_of_government resource:Josef_Neumayer . resource:Austria property:capital ?g }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q40> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P36>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?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> <http://wikidata.dbpedia.org/resource/Q1705370> . }
SELECT ?answer WHERE { wd:Q40 wdt:P36 ?answer . ?answer wdt:P6 wd:Q1705370}