What is {is in the village of} of {Western Cape}, that has {diplomatic relation} is {United Kingdom} ?
What is the deal in the village of Western Cape, having a diplomatic relation with the United Kingdom?
What is the deal in the village of Western Cape, having a diplomatic relation with the United Kingdom?
SELECT ?i WHERE { ?i property:diplomatic_relation resource:United_Kingdom . resource:Western_Cape property:located_in_the_administrative_territorial_entity ?i }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q127167> . ?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/P530> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q145> . }
SELECT ?answer WHERE { wd:Q127167 wdt:P131 ?answer . ?answer wdt:P530 wd:Q145}
South Africa