Question: Does the US city with WOEID number 2389922 occupy more than 6000 square miles ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "2389922" . ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v > "6000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: WOEID
2389922
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttr
dependencies: 2
inputs: area
function: VerifyNum
dependencies: 3
inputs: 6000 square mile
>