Question: Which US city is the capital of capital of Allen County (the one whose population is 106331?
Choices:
Fort Wayne
Casper
Oakland
Shreveport
Bellevue
Waukegan
Boulder
Franklin
New Haven
Lima
Answer: Lima
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Allen County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "106331"^^xsd:double .   }
Program:
function: Find
inputs: Allen County
function: FilterNum
dependencies: 0
inputs: population
106331
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3