What is {is in the borough of} of {Limpopo}, that has {has cities} is {North West} ?
Where in Limpopo borough is the city of North West?
Where in Limpopo borough is the city of North West?
SELECT ?f WHERE { ?f property:contains_administrative_territorial_entity resource:North_West . resource:Limpopo property:located_in_the_administrative_territorial_entity ?f }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q134907> . ?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/Q165956> . }
SELECT ?answer WHERE { wd:Q134907 wdt:P131 ?answer . ?answer wdt:P150 wd:Q165956}
South Africa