Question: Did the John Wood born on 1894-09-17 die in a year other than ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "John Wood" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1894-09-17"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2002 ) .  }
Program:
function: Find
inputs: John Wood
function: FilterDate
dependencies: 0
inputs: date of birth
1894-09-17
=
function: QueryAttr
dependencies: 1
inputs: date of death
function: VerifyYear
dependencies: 2
inputs: 2002
!=