Question: Was the population of Butler County (the one that shares border with Beaver County), on 1st July 2011, other than 8,800,000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Butler County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Beaver County" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "8800000"^^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: Beaver County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Butler County
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2011-07-01
function: VerifyNum
dependencies: 4
inputs: 8800000
!=