Question: Regarding rivers, whose lowest point is Illinois (the one whose FIPS 5-2 numeric code (US states) is 17), which one has the lowest discharge ?
Choices:
Columbia River
Lewis Milestone
River Thames
Danube
Missouri River
Hudson River
Ohio River
Mississippi River
Amazon
Rhine
Program:
function: Find
inputs: Illinois
function: FilterStr
dependencies: 0
inputs: FIPS 5-2 numeric code (US states)
17
function: Relate
dependencies: 1
inputs: lowest point
forward
function: FilterConcept
dependencies: 2
inputs: river
function: SelectAmong
dependencies: 3
inputs: discharge
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e_1 <lowest_point> ?e . ?e_1 <pred:name> "Illinois" . ?e_1 <FIPS_5-2_numeric_code_(US_states)> ?pv_1 . ?pv_1 <pred:value> "17" . ?e <discharge> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Ohio River