Question: When was John Adams (the one whose date of death is 1863-04-24) born?2
Choices:
1964-12-08
1951-06-30
1939-10-01
1968-10-10
1970-04-04
1942-10-20
1887-11-26
1910-05-23
1772-09-18
1930-08-18
Answer: 1772-09-18
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Adams" . ?e <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1863-04-24"^^xsd:date . ?e <date_of_birth> ?pv .  }
Program:
function: Find
inputs: John Adams
function: FilterDate
dependencies: 0
inputs: date of death
1863-04-24
=
function: QueryAttr
dependencies: 1
inputs: date of birth