Question: Is the population of Monroe County (the one that shares a border with Baldwin County) less than 1500000000 in 2011-07-01?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Monroe County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Baldwin County" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "1500000000"^^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: Baldwin County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Monroe County
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2011-07-01
function: VerifyNum
dependencies: 4
inputs: 1500000000
<