What is {county seat for} of {place of activity} of {Sylvester II} ?
Name Sylvester II's county seat.
What is the county seat of Sylvester II?
SELECT ?z WHERE { ?o property:capital_of ?z . resource:Sylvester_II property:work_location ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q172383> . ?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:Q172383 wdt:P937 ?X . ?X wdt:P1376 ?answer}
Italy Lazio Metropolitan City of Rome