Question: What is the population of Helena (the one whose elevation (above sea level) is 1181 metre)?
Choices:
28190
99042
122050
1883018
32751
15107
9638
538878
106983
98085373
Answer: 28190
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Helena" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "1181"^^xsd:double . ?e <population> ?pv .  }
Program:
function: Find
inputs: Helena
function: FilterNum
dependencies: 0
inputs: elevation above sea level
1181 metre
=
function: QueryAttr
dependencies: 1
inputs: population