What is {on the shore of} of {Rabat}, that has {tributary} is {Mystic River} ?
On the shore of Rabat, what contains a tributary of Spiritualist River?
On the shore of Rabat, what has a tributary of Mystic River?
SELECT ?z WHERE { resource:Rabat property:located_in_or_next_to_body_of_water ?z . ?z property:tributary resource:Mystic_River }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3551> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P206>. ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?answer . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?answer. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P974> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q1758000> . }
SELECT ?answer WHERE { wd:Q3551 wdt:P206 ?answer . ?answer wdt:P974 wd:Q1758000}
Atlantic Ocean