Question: Was the life expectancy of a sovereign state, whose nominal GDP is 5,200,895,982.08036 USD, different from 40 years in 2015 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "5200895982.08036"^^xsd:double . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "40"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <life_expectancy> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2015 .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
5200895982.08036 United States dollar
=
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: QueryAttrUnderCondition
dependencies: 2
inputs: life expectancy
point in time
2015
function: VerifyNum
dependencies: 3
inputs: 40 year
!=