Question: Was Kevin Smith whose mass is 218 pounds born before 1877?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Kevin Smith" . ?e <mass> ?pv_1 . ?pv_1 <pred:unit> "pound" . ?pv_1 <pred:value> "218"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1877 ) .  }
Program:
function: Find
inputs: Kevin Smith
function: FilterNum
dependencies: 0
inputs: mass
218 pound
=
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1877
<