What is {county seat of} of {from} of {The Smashing Pumpkins} ?
From what county seat in England are the Smashing Pumpkins?
The Smashing Pumpkins are from what county seat in England?
SELECT ?y WHERE { resource:The_Smashing_Pumpkins property:location_of_formation ?k . ?k property:capital_of ?y }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q184217> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P740>. ?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:Q184217 wdt:P740 ?X . ?X wdt:P1376 ?answer}
Cook County