Question: Is the ISO 3166-2 code of the city whose life expectancy is not equal to 13.9 years equal to DE-SH (beginning on 2017-11-23)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <life_expectancy> ?pv_1 . ?pv_1 <pred:unit> "year" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "13.9"^^xsd:double ) . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "DE-SH" . [ <pred:fact_h> ?e ; <pred:fact_r> <ISO_3166-2_code> ; <pred:fact_t> ?pv ] <start_time> ?qpv . ?qpv <pred:date> "2017-11-23"^^xsd:date .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
13.9 year
!=
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrUnderCondition
dependencies: 2
inputs: ISO 3166-2 code
start time
2017-11-23
function: VerifyStr
dependencies: 3
inputs: DE-SH