Question: Which Illinois county borders Logan County, with a population of 29494?
Choices:
Tazewell County
Will County
Logan County
Madison County
Monroe County
Montgomery County
McHenry County
McLean County
Peoria County
Champaign County
Program:
function: Find
inputs: Logan County
function: FilterNum
dependencies: 0
inputs: population
29494
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Illinois
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Illinois" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Logan County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "29494"^^xsd:double .   }
Answer: Tazewell County