SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/border> <http://dbpedia.org/resource/BjelaÅ¡nica> . ?x <http://dbpedia.org/ontology/mouthCountry> ?uri . }
Where does the river end on whose border we find in Bjelasnica?
SELECT DISTINCT ?p WHERE { ?q property:mouth_country ?p . . ?q property:border resource:BjelaÅ¡nica }
Croatia
[Croatia] is the mouth country of the river in the border with Bjelanica.
The river end on whose border we find in Bjelasnica [Croatia].
[Croatia] is the mouth country of the place whose border is the person .
[Croatia] is an estuary of a place whose border we find in Bjelasnica.