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