Question: Did San Marino (the one whose demonym is sammarinesi) in 2004 have a number of population diferent to 26000000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "San Marino" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "sammarinesi" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "26000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2004 .  }
Program:
function: Find
inputs: San Marino
function: FilterStr
dependencies: 0
inputs: demonym
sammarinesi
function: QueryAttrUnderCondition
dependencies: 1
inputs: population
point in time
2004
function: VerifyNum
dependencies: 2
inputs: 26000000
!=