Question: Is the Human Development Index of Bahamas (the one whose population is 243397) not equal to 0.5 in 2013 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Bahamas" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "243397"^^xsd:double . ?e <Human_Development_Index> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "0.5"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <Human_Development_Index> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2013 .  }
Program:
function: Find
inputs: Bahamas
function: FilterNum
dependencies: 0
inputs: population
243397
=
function: QueryAttrUnderCondition
dependencies: 1
inputs: Human Development Index
point in time
2013
function: VerifyNum
dependencies: 2
inputs: 0.5
!=