What is {tributary} of {body of water} of {Mindanao} ?
Which is the river running into Mindanao's sea?
What is the tributary of Mindanao's body of water?
SELECT ?y WHERE { resource:Mindanao property:located_in_or_next_to_body_of_water ?s . ?s property:tributary ?y }
SELECT ?answer WHERE { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q124873> . ?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> ?X . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?X. ?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> ?answer . }
SELECT ?answer WHERE { wd:Q124873 wdt:P206 ?X . ?X wdt:P974 ?answer}
Kalabakan River Mindanao River Sungai Kalumpang Catubig River Nakama River Hinatuan Enchanted River Kinabatangan River Sungai Paitan Sungai Segama Sungai Sugut Agusan River Loboc