Question: Is Suffolk County's population greater than 6.9 (the one that shares border with Nassau County), (the point in time of this statement is 2010-04-01)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Suffolk County" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Nassau County" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "6.9"^^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: Nassau County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Suffolk County
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2010-04-01
function: VerifyNum
dependencies: 4
inputs: 6.9
>