Question: What United States city has a population of 17775 and is the capital of the Administrative territorial entity that shares a border with Delaware County?
Choices:
Cedar Rapids
Pine Bluff
Waukegan
Worcester
Kansas City
Wilmington
New Haven
Canton
Franklin
Columbus
Answer: Cedar Rapids
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:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_1 <shares_border_with> ?e_2 . ?e_2 <pred:name> "Delaware County" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "17775"^^xsd:double .   }
Program:
function: Find
inputs: Delaware County
function: FilterNum
dependencies: 0
inputs: population
17775
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: Relate
dependencies: 3
inputs: capital of
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: What
dependencies: 5