Question: Does the area of Guildford (OS grid reference TQ0105550700) exceed 20 square kilometres ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Guildford" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "TQ0105550700" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "20"^^xsd:double ) .  }
Program:
function: Find
inputs: Guildford
function: FilterStr
dependencies: 0
inputs: OS grid reference
TQ0105550700
function: QueryAttr
dependencies: 1
inputs: area
function: VerifyNum
dependencies: 2
inputs: 20 square kilometre
>