Question: Did the state whose ISO 3166-1 alpha-2 code is KN have an inflation rate of less than 390 percentage on 1997-01-01?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <ISO_3166-1_alpha-2_code> ?pv_1 . ?pv_1 <pred:value> "KN" . ?e <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v < "390"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <inflation_rate> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "1997-01-01"^^xsd:date .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-1 alpha-2 code
KN
function: FilterConcept
dependencies: 1
inputs: state
function: QueryAttrUnderCondition
dependencies: 2
inputs: inflation rate
point in time
1997-01-01
function: VerifyNum
dependencies: 3
inputs: 390 percentage
<