Question: Regarding an administrative territorial entity with the capital Cedar Rapids (local dialing code 319), was its population higher than 160,000 on 1st July 2011 ?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Cedar Rapids" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "319" . ?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:date> "2011-07-01"^^xsd:date .  }
Program:
function: Find
inputs: Cedar Rapids
function: FilterStr
dependencies: 0
inputs: local dialing code
319
function: Relate
dependencies: 1
inputs: capital of
forward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2011-07-01
function: VerifyNum
dependencies: 4
inputs: 160000
>
Answer: yes