What is {bordered by} of {City of Cape Town}, that has {contains} is {Saldanha Bay Local Municipality} ?
What is the {bordered} {City of Cape Town}, that {contains} a {Saldanha Bay Local Municipality}?
What is the {bordered} {City of Cape Town}, that {contains} a {Saldanha Bay Local Municipality}?
SELECT ?o WHERE { ?o property:contains_administrative_territorial_entity resource:Saldanha_Bay_Local_Municipality . resource:City_of_Cape_Town property:shares_border_with ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q1185115> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47>. ?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/Q2006784> . }
SELECT ?answer WHERE { wd:Q1185115 wdt:P47 ?answer . ?answer wdt:P150 wd:Q2006784}
West Coast District Municipality