Question: What Illinois county has the captital of Springfield (the one whose inception time is 1821-04-10) and has the capital of Springfield (the one whose inception time is 1821-04-10)?
Choices:
McHenry County
Peoria County
Monroe County
Logan County
DeKalb County
Illinois
Clinton County
Sangamon County
McLean County
Madison County
Program:
function: Find
inputs: Springfield
function: FilterDate
dependencies: 0
inputs: inception
1821-04-10
=
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: county of Illinois
function: Find
inputs: Springfield
function: FilterDate
dependencies: 4
inputs: inception
1821-04-10
=
function: Relate
dependencies: 5
inputs: capital of
forward
function: FilterConcept
dependencies: 6
inputs: county of Illinois
function: And
dependencies: 3
7
function: What
dependencies: 8
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Illinois" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Springfield" . ?e_1 <inception> ?pv . ?pv <pred:date> "1821-04-10"^^xsd:date .  ?e_2 <capital_of> ?e . ?e_2 <pred:name> "Springfield" . ?e_2 <inception> ?pv_1 . ?pv_1 <pred:date> "1821-04-10"^^xsd:date .  }
Answer: Sangamon County