Question: How many Indiana counties have a U.S. city capital which equals the capital of Delaware County (the one whose population is 117484)?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Indiana" . ?e <capital> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city of the United States" . ?e_1 <capital_of> ?e_2 . ?e_2 <pred:name> "Delaware County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "117484"^^xsd:double .   }
Program:
function: Find
inputs: Delaware County
function: FilterNum
dependencies: 0
inputs: population
117484
=
function: Relate
dependencies: 1
inputs: capital of
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: county of Indiana
function: Count
dependencies: 5