Question: What person has a mass of 283 pounds, but is not 85 millimetres?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "283"^^xsd:double . ?e <height> ?pv . ?pv <pred:unit> "millimetre" . ?pv <pred:value> ?v . FILTER ( ?v != "85"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: mass
283 pound
=
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: height
function: VerifyNum
dependencies: 3
inputs: 85 millimetre
!=