Question: Did Robert Shaw, who was born on 1904-12-05, not die in 1992?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Robert Shaw" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1904-12-05"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1992 ) .  }
Program:
function: Find
inputs: Robert Shaw
function: FilterDate
dependencies: 0
inputs: date of birth
1904-12-05
=
function: QueryAttr
dependencies: 1
inputs: date of death
function: VerifyYear
dependencies: 2
inputs: 1992
!=