Question: Which river is located in or next to the United States state whose population is 3434575 (using the determination method of census)?
Choices:
Lake Michigan
Missouri River
Columbia River
River Thames
Hudson River
Amazon
Danube
Lake Superior
Mississippi River
Rhine
Answer: Mississippi River
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e_1 <located_in_or_next_to_body_of_water> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "state of the United States" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3434575"^^xsd:double . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <determination_method> ?qpv . ?qpv <pred:value> "census" .   }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
3434575
=
function: QFilterStr
dependencies: 1
inputs: determination method
census
function: FilterConcept
dependencies: 2
inputs: state of the United States
function: Relate
dependencies: 3
inputs: located in or next to body of water
forward
function: FilterConcept
dependencies: 4
inputs: river
function: What
dependencies: 5