Question: Was the population of an administrative territorial entity, bordering Polk County (the one that contains Des Moines), under 100 people on 1st April 2010?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Polk County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Des Moines" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "100"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2010-04-01"^^xsd:date .  }
Program:
function: Find
inputs: Des Moines
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Polk County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: QueryAttrUnderCondition
dependencies: 5
inputs: population
point in time
2010-04-01
function: VerifyNum
dependencies: 6
inputs: 100
<