Question: Is the Pennsylvania city with telephone area code 570 larger than 0 square kilometers in size ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of Pennsylvania" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "570" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "0"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: local dialing code
570
function: FilterConcept
dependencies: 1
inputs: city of Pennsylvania
function: QueryAttr
dependencies: 2
inputs: area
function: VerifyNum
dependencies: 3
inputs: 0 square kilometre
>