SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/leftTributary> <http://dbpedia.org/resource/Bukovica_(river)> . ?x <http://dbpedia.org/ontology/mouthCountry> ?uri . }
What does the river flow into, whose left tributary is Bukovica?
SELECT DISTINCT ?q WHERE { ?x property:left_tributary resource:Bukovica_(river) . ?x property:mouth_country ?q . }
Croatia
[Croatia] is the mouth country of the river whose left tributary is Bukovica.
[Croatia] is the mouth of a river, the left tributary of which is Bukovica.