What is {on bay} of {Praia}, that has {tributary} is {Amazon basin} ?
What is on the inlet of Praia that encompasses a tributary called the Amazon basin?
What is on the bay of Praia that has a tributary called the Amazon basin?
SELECT ?x WHERE { ?x property:tributary resource:Amazon_basin . resource:Praia property:located_in_or_next_to_body_of_water ?x }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q3751> . ?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/Q244451> . }
SELECT ?answer WHERE { wd:Q3751 wdt:P206 ?answer . ?answer wdt:P974 wd:Q244451}
Atlantic Ocean