Question: Which river in the New York that contains Oswego County has a drainage basin exceeding 25000 square kilometers in size?
Choices:
Missouri River
Danube
Rhine
Columbia River
Amazon
Lake Erie
Ohio River
Hudson River
Mississippi River
River Thames
Program:
function: Find
inputs: Oswego County
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: New York
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: river
function: FindAll
function: FilterNum
dependencies: 6
inputs: watershed area
25000 square kilometre
>
function: FilterConcept
dependencies: 7
inputs: river
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "New York" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Oswego County" .  ?e <watershed_area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "25000"^^xsd:double ) .  }
Answer: Hudson River