SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/mouthPlace> <http://dbpedia.org/resource/Essex> . ?uri <http://dbpedia.org/ontology/sourcePlace> <http://dbpedia.org/resource/Gloucestershire> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/River>}
Name the river with mouth place Essex and source place as Gloucestershire ?
SELECT DISTINCT ?r WHERE { ?r property:source_place resource:Gloucestershire . ?r property:mouth_place resource:Essex . ?r rdf:type ontology:River }
River Thames
[River Thames] is the river with the mouth in Essex and source in Gloucestershire.
[Thames] is a river with a mouth in Essex and a spring in Gloucestershire.