Question: As of 2011-07-01, does Erie County (which has a shared border with Cattaraugus County) have a population below 1800000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Erie County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Cattaraugus County" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "1800000"^^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: Cattaraugus County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Erie County
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2011-07-01
function: VerifyNum
dependencies: 4
inputs: 1800000
<