Question: What is the connection between Illinois (the one that partially contains Mississippi River) to Madison County (the one whose population is 266209)?
Choices:
architect
exclave of
connects with
instrument
editor
source of income
sponsor
contains administrative territorial entity
allegiance
location of discovery
Answer: contains administrative territorial entity
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Illinois" . ?e_1 <partially_contains> ?e_3 . ?e_3 <pred:name> "Mississippi River" . ?e_2 <pred:name> "Madison County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "266209"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mississippi River
function: Relate
dependencies: 0
inputs: partially contains
backward
function: Find
inputs: Illinois
function: And
dependencies: 1
2
function: Find
inputs: Madison County
function: FilterNum
dependencies: 4
inputs: population
266209
=
function: QueryRelation
dependencies: 3
5