Question: Did the city corresponding to Dewey Decimal Classification 2--4758 have a population count other than 0.4 in 2016?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--4758" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "0.4"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2016 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Dewey Decimal Classification
2--4758
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2016
function: VerifyNum
dependencies: 3
inputs: 0.4
!=