Question: Born on 1870-07-02, James Joyce died at what time?
Choices:
1912-04-20
1990-12-26
2018-03-14
1979-02-27
1959-11-20
1994-01-01
1931-03-25
2008-02-15
1972-05-23
30
Answer: 1931-03-25
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "James Joyce" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1870-07-02"^^xsd:date . ?e <date_of_death> ?pv .  }
Program:
function: Find
inputs: James Joyce
function: FilterDate
dependencies: 0
inputs: date of birth
1870-07-02
=
function: QueryAttr
dependencies: 1
inputs: date of death