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