What is {bordered by} of {South Africa}, that has {complete title} is {República de Moçambique} ?
What is that's of
What is that is of
SELECT ?s WHERE { FILTER ( CONTAINS ( ?o , 'República de Moçambique' ) ) . resource:South_Africa property:shares_border_with ?s . ?s property:official_name ?o }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q258> . ?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/P1448> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <República de Moçambique> . }
SELECT ?answer WHERE { wd:Q258 wdt:P47 ?answer . ?answer wdt:P1448 ?x FILTER(contains(?x , 'República de Moçambique'))}