What is {border} of {Japan}, that has {language official} is {Buryat} ?
"What's the {border} of {Japan}, whose {language official} is {Buryat}?"
"What's the {border} of {Japan}, whose {language official} is {Buryat}?"
SELECT ?i WHERE { ?i property:official_language resource:Buryat . resource:Japan 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/Q17> . ?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/P37> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q33120> . }
SELECT ?answer WHERE { wd:Q17 wdt:P47 ?answer . ?answer wdt:P37 wd:Q33120}