Question: Is the 2011 population of the country whose country calling code is +298 not equal to 2800?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "country" . ?e <country_calling_code> ?pv_1 . ?pv_1 <pred:value> "+298" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "2800"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2011 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: country calling code
+298
function: FilterConcept
dependencies: 1
inputs: country
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2011
function: VerifyNum
dependencies: 3
inputs: 2800
!=