Question: Is the life expectancy of Kazakhstan less than 85 years (the point in time of this statement is 2010)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Kazakhstan" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v < "85"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 .  }
Program:
function: Find
inputs: Kazakhstan
function: QueryAttrUnderCondition
dependencies: 0
inputs: life expectancy
point in time
2010
function: VerifyNum
dependencies: 1
inputs: 85 year
<
Answer: yes