Question: Is Savannah's (the one whose postal code is 31401–31499) population less than 70000000 (the point in time of this statement is 1980)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Savannah" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "31401–31499" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "70000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 1980 .  }
Program:
function: Find
inputs: Savannah
function: FilterStr
dependencies: 0
inputs: postal code
31401–31499
function: QueryAttrUnderCondition
dependencies: 1
inputs: population
point in time
1980
function: VerifyNum
dependencies: 2
inputs: 70000000
<