Question: What is the population of Concord (the one that is the capital of New Hampshire)?
Choices:
5696409
74363
42695
1280122
40558648
851547
138242
15976715
586107
588343
Answer: 42695
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Concord" . ?e_1 <capital> ?e . ?e_1 <pred:name> "New Hampshire" .  ?e <population> ?pv .  }
Program:
function: Find
inputs: New Hampshire
function: Relate
dependencies: 0
inputs: capital
forward
function: Find
inputs: Concord
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: population