Question: Does the city with postal code SN1 have other than 3000 inhabitants?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "SN1" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "3000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
SN1
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttr
dependencies: 2
inputs: population
function: VerifyNum
dependencies: 3
inputs: 3000
!=