Question: Where exactly is  Mississippi (the one whose population is 2009821) located, relative to Mississipp River, if we know it is in or next to it?
Choices: west
north-northwest
east
northwest
southeast
west-northwest
south-southwest
north
southwest
south
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Mississippi" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2009821"^^xsd:double . ?e_2 <pred:name> "Mississippi River" . ?e_1 <located_in_or_next_to_body_of_water> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <located_in_or_next_to_body_of_water> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }
Program:
function: Find
inputs: Mississippi
function: FilterNum
dependencies: 0
inputs: population
2009821
=
function: Find
inputs: Mississippi River
function: QueryRelationQualifier
dependencies: 1
2
inputs: located in or next to body of water
direction relative to location
Answer: west