SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/sourcePlace> <http://dbpedia.org/resource/Gloucestershire> . ?uri <http://dbpedia.org/ontology/mouthPlace> <http://dbpedia.org/resource/Southend-on-Sea> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/River>}
Name the river whose source place is Gloucestershire and mouth place is Southend-on-Sea ?
SELECT DISTINCT ?f WHERE { ?f property:mouth_place resource:Southend-on-_Sea . ?f rdf:type ontology:River . ?f property:source_place resource:Gloucestershire }
River Thames
The river with source place in Gloucestershire and mouth place in Southend-on-Sea is [River Thames].
The upstream river in Gloucestershire and the estuary in Southend-on-Sea are [River Thames].