Question: Does Suffolk County (the one that shares border with Nassau County), have an area less than 7800 square kilometres?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Suffolk County" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Nassau County" .  ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "7800"^^xsd:double ) .  }
Program:
function: Find
inputs: Nassau County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Suffolk County
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: area
function: VerifyNum
dependencies: 4
inputs: 7800 square kilometre
<
Answer: yes