What is {watercourse ends in} of {Gulf of Maine}, that has {tributary} is {Rio Miriri} ?
"Which is {conduit closes in} of {Inlet of Maine}, whose {tributary} is {Rio Miriri} ?"
"Which is {watercourse ends in} of {Gulf of Maine}, whose {tributary} is {Rio Miriri} ?"
SELECT ?o WHERE { resource:Gulf_of_Maine property:mouth_of_the_watercourse ?o . ?o property:tributary resource:Rio_Miriri }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q876470> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P403>. ?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/Q3432544> . }
SELECT ?answer WHERE { wd:Q876470 wdt:P403 ?answer . ?answer wdt:P974 wd:Q3432544}
Atlantic Ocean