What is {city} of {Curtis Institute of Music}, that has {has wards} is {Cameron County} ?
What metropolis does Curtis Institute of Music stay in, and has wards in Cameron County?
What city does Curtis Institute of Music reside in, and has wards in Cameron County?
SELECT ?s WHERE { resource:Curtis_Institute_of_Music property:located_in_the_administrative_territorial_entity ?s . ?s property:contains_administrative_territorial_entity resource:Cameron_County }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q60450> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P131>. ?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/P150> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q494142> . }
SELECT ?answer WHERE { wd:Q60450 wdt:P131 ?answer . ?answer wdt:P150 wd:Q494142}
Pennsylvania