SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/mouthLocation> <http://dbpedia.org/resource/Saunders_County,_Nebraska> . ?x <http://dbpedia.org/ontology/state> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/Stream>}
Through which states does the stream ending at Saunders county go?
SELECT DISTINCT ?t WHERE { ?j property:state ?t . ?j rdf:type ontology:Stream . ?j property:mouth_location resource:Saunders_County,_Nebraska }
Nebraska
[Nebraska] is the state for the stream whose mouth location is Saunders County, Nebraska .
[Faraka] is a river state whose mouth is in Saar county, Faraka.