SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/sourcePlace> <http://dbpedia.org/resource/Gloucestershire> . ?uri <http://dbpedia.org/ontology/riverMouth> <http://dbpedia.org/resource/North_Sea> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/River>}
Which river's source place is Gloucestershire and has mouth in North Sea?
SELECT DISTINCT ?h WHERE { ?h property:river_mouth resource:North_Sea . ?h property:source_place resource:Gloucestershire . ?h rdf:type ontology:River }
River Thames
[River Thames] is the river whose source place is Gloucestershire and has mouth in North Sea.
[River Thames] is a river that originates in Gloucestershire and has an estuary in the North Sea.