Question: What date did John Wells die?
Choices: 1962-11-15
2004-01-17
1937-02-07
2018-01-22
1980-04-15
1981-08-04
1987-08-28
1877-05-30
1937-07-11
1978-08-31
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Wells" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1817-07-01"^^xsd:date . ?e <date_of_death> ?pv .  }
Program:
function: Find
inputs: John Wells
function: FilterDate
dependencies: 0
inputs: date of birth
1817-07-01
=
function: QueryAttr
dependencies: 1
inputs: date of death
Answer: 1877-05-30