What is {adjacent to} of {is in the village of} of {Karachay-Cherkess Republic} ?
What is adjoining to the town of Karachay-Cherkess Republic?
What is adjacent to the village of Karachay-Cherkess Republic?
SELECT ?n WHERE { ?j property:shares_border_with ?n . resource:Karachay-Cherkess_Republic property:located_in_the_administrative_territorial_entity ?j }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q5328> . ?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> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P47> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . }
SELECT ?answer WHERE { wd:Q5328 wdt:P131 ?X . ?X wdt:P47 ?answer}
Japan Norway United States of America Finland Poland Lithuania People's Republic of China Belarus Estonia Latvia Ukraine Azerbaijan Georgia Kazakhstan North Korea Mongolia South Ossetia Donetsk People's Republic Luhansk People's Republic Republic of Abkhazia