SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/border> <http://dbpedia.org/resource/Modoc_Plateau> . ?x <http://dbpedia.org/ontology/state> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Valley>}
In which state does the valley bordering the Modoc plateau lie?
SELECT DISTINCT ?u WHERE { ?s property:state ?u . ?s property:border resource:Modoc_Plateau . ?s rdf:type ontology:Valley }
California, Oregon
The states of the valley bordering the Modoc Plateau are [California, Oregon].
The valley bordering the Modoc plateau lies in [California, Oregon].