Question: The Patrick Doyle born in 1892 died on which date?
Choices:
1938-07-18
1986-03-31
1897-08-10
1921-03-14
1847-01-14
2006-09-20
2007-01-13
1940-09-26
2018-10-13
2000-12-30
Program:
function: Find
inputs: Patrick Doyle
function: FilterYear
dependencies: 0
inputs: date of birth
1892
=
function: QueryAttr
dependencies: 1
inputs: date of death
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Patrick Doyle" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:year> 1892 . ?e <date_of_death> ?pv .  }
Answer: 1921-03-14