Question: Does Essex (the one that has the captital Chelmsford), have an area less than 5500 square miles?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Essex" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Chelmsford" .  ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v < "5500"^^xsd:double ) .  }
Program:
function: Find
inputs: Chelmsford
function: Relate
dependencies: 0
inputs: capital
backward
function: Find
inputs: Essex
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: area
function: VerifyNum
dependencies: 4
inputs: 5500 square mile
<