Question: What U.S. state shares a border with Illinois (the one whose ISNI is 0000 0004 0465 6832) (the subject of this statement is Illinois–Missouri border) and contains Jackson County (the one whose population is 675267)?
Choices:
Hawaii
Kansas
Missouri
New Mexico
California
Massachusetts
Illinois
Iowa
New Jersey
Florida
Program:
function: Find
inputs: Illinois
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0465 6832
function: Relate
dependencies: 1
inputs: shares border with
forward
function: QFilterStr
dependencies: 2
inputs: statement is subject of
Illinois–Missouri border
function: FilterConcept
dependencies: 3
inputs: state of the United States
function: Find
inputs: Jackson County
function: FilterNum
dependencies: 5
inputs: population
675267
=
function: Relate
dependencies: 6
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 7
inputs: state of the United States
function: And
dependencies: 4
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Illinois" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0004 0465 6832" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Illinois–Missouri border" . ?e_2 <located_in_the_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Jackson County" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "675267"^^xsd:double .  }
Answer: Missouri