What is {adjacent to} of {Yamanashi Prefecture}, that has {has municipalities} is {Haibara District} ?
What is adjoining to Yamanashi Prefecture, that has regions in Haibara District?
What is adjacent to Yamanashi Prefecture, that has municipalities in Haibara District?
SELECT ?p WHERE { resource:Yamanashi_Prefecture property:shares_border_with ?p . ?p property:contains_administrative_territorial_entity resource:Haibara_district }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q132720> . ?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/Q1203336> . }
SELECT ?answer WHERE { wd:Q132720 wdt:P47 ?answer . ?answer wdt:P150 wd:Q1203336}
Shizuoka Prefecture