Question: What is the Illinois county whose capital is Joliet?
Choices:
Clinton County
Tazewell County
McHenry County
Will County
Monroe County
Champaign County
Kane County
Madison County
Cook County
Logan County
Program:
function: Find
inputs: Joliet
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: county of Illinois
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Illinois" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Joliet" .   }
Answer: Will County