Question: What Illinois county has the captital Peoria and is an administrative division of Illinois (the one whose Dewey Decimal Classification is 2--773)?
Choices:
McLean County
Peoria County
Lake County
Monroe County
Madison County
Logan County
McHenry County
DeKalb County
Sangamon County
DuPage County
Program:
function: Find
inputs: Peoria
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: county of Illinois
function: Find
inputs: Illinois
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
2--773
function: Relate
dependencies: 4
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 5
inputs: county of Illinois
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Illinois" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Peoria" .  ?e_2 <contains_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Illinois" . ?e_2 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--773" .  }
Answer: Peoria County