Question: John Williams DOB is 1752-09-01, and when is his date of death?
Choices:
1967-10-03
1991-11-14
2018-10-13
1632-08-25
1806-07-22
1859-11-01
1937-10-19
2012-04-30
1861-04-10
2000-07-21
Program:
function: Find
inputs: John Williams
function: FilterDate
dependencies: 0
inputs: date of birth
1752-09-01
=
function: QueryAttr
dependencies: 1
inputs: date of death
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Williams" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1752-09-01"^^xsd:date . ?e <date_of_death> ?pv .  }
Answer: 1806-07-22