Question: Does the capital whose postal code is 8041, have a population of less than 3200000 (the point in time of this statement is 2002-01-01)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "8041" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "3200000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2002-01-01"^^xsd:date .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
8041
function: FilterConcept
dependencies: 1
inputs: capital
function: QueryAttrUnderCondition
dependencies: 2
inputs: population
point in time
2002-01-01
function: VerifyNum
dependencies: 3
inputs: 3200000
<
Answer: yes