Question: Is the elevation of Saint John, population 4170, under 820 meters, relative to sea level ?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Saint John" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "4170"^^xsd:double . ?e <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> ?v . FILTER ( ?v < "820"^^xsd:double ) .  }
Program:
function: Find
inputs: Saint John
function: FilterNum
dependencies: 0
inputs: population
4170
=
function: QueryAttr
dependencies: 1
inputs: elevation above sea level
function: VerifyNum
dependencies: 2
inputs: 820 metre
<
Answer: yes