Question: What is the population of the capital city of DeKalb County in the United States that has an area of 702 square kilometre?
Choices:
8712176
1922729
19853
13698
1123296
230800
1624228
55505282
506926
266220
Answer: 19853
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <capital> ?e . ?e_1 <pred:name> "DeKalb County" . ?e_1 <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "702"^^xsd:double . ?e <population> ?pv .  }
Program:
function: Find
inputs: DeKalb County
function: FilterNum
dependencies: 0
inputs: area
702 square kilometre
=
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: population