What is {county seat for} of {location of work} of {Heinrich Schütz} ?
What county does Heinrich Schutz hold the seat for?
Heinrich Schütz holds the seat for which county?
SELECT ?x WHERE { ?y property:capital_of ?x . resource:Heinrich_Schütz property:work_location ?y }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q153643> . ?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/P1376> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q153643 wdt:P937 ?X . ?X wdt:P1376 ?answer}
Saxony Duchy of Brunswick Duchy of Brunswick-Lüneburg Free State of Brunswick Principality of Brunswick-Wolfenbüttel