Question: Does the census-designated place whose postal code is 20824 have an area of less than 900000 square kilometers?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "census-designated place" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "20824" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "900000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
20824
function: FilterConcept
dependencies: 1
inputs: census-designated place
function: QueryAttr
dependencies: 2
inputs: area
function: VerifyNum
dependencies: 3
inputs: 900000 square kilometre
<