Question: Is Camden, New Jersey, less than 50000000 square kilometres?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city in New Jersey" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "Camden" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "50000000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
Camden
function: FilterConcept
dependencies: 1
inputs: city in New Jersey
function: QueryAttr
dependencies: 2
inputs: area
function: VerifyNum
dependencies: 3
inputs: 50000000 square kilometre
<