Question: This statement was made in 2016, for Mexico, does it have life expectancy under 80 years?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Mexico" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v < "80"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2016 .  }
Program:
function: Find
inputs: Mexico
function: QueryAttrUnderCondition
dependencies: 0
inputs: life expectancy
point in time
2016
function: VerifyNum
dependencies: 1
inputs: 80 year
<