What is {next to} of {Xinjiang}, that has {has arrondissements} is {Haidong} ?
Which is another to Xinjiang, that has arrondissements as Haidong?
Which is next to Xinjiang, that has arrondissements as Haidong?
SELECT ?i WHERE { ?i property:contains_administrative_territorial_entity resource:Haidong . resource:Xinjiang property:shares_border_with ?i }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q34800> . ?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/Q984788> . }
SELECT ?answer WHERE { wd:Q34800 wdt:P47 ?answer . ?answer wdt:P150 wd:Q984788}
Qinghai