What is the {river} for {located in or next to body of water} of {Shanghai}
Which river runs through Shanghai?
WHat river is crossing Shangai ?
SELECT DISTINCT ?x WHERE { resource:Shanghai property:located_in_or_next_to_body_of_water ?x . ?x rdf:type ontology:river }
select distinct ?obj where { ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q8686> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P206> . ?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj . ?obj <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q4022> } 
 select distinct ?obj where { wd:Q8686 wdt:P206 ?obj . ?obj wdt:P31 wd:Q4022 } 
Huangpu River Suzhou Creek Yangtze