SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/sourcePlace> <http://dbpedia.org/resource/LebrÅ¡nik> . ?x <http://dbpedia.org/ontology/mouthCountry> ?uri . }
in which country does the river end which originates in Lebrsnik?
SELECT DISTINCT ?p WHERE { ?p property:source_place resource:LebrÅ¡nik . ?p property:mouth_country ?p . }
Croatia
The mouth country of the river whose source place is Lebrnik is [Croatia].
The mouth of the River originating in Lebrsnik is [Croatia].