Question: Did James Monroe (the one whose date of birth is 1821-07-18) not die in 1974?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: James Monroe
function: FilterDate
dependencies: 0
inputs: date of birth
1821-07-18
=
function: QueryAttr
dependencies: 1
inputs: date of death
function: VerifyYear
dependencies: 2
inputs: 1974
!=
SPARQL: ASK { ?e <pred:name> "James Monroe" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1821-07-18"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1974 ) .  }
Answer: yes