Question: When did Roger Moore (the one whose date of birth is 1900-09-21) die?
Choices:
1999-03-24
1941-08-07
1994-06-06
1968-10-02
2018-09-27
1946-07-27
1922-11-04
2017-07-15
2010-07-21
1897-04-24
Program:
function: Find
inputs: Roger Moore
function: FilterDate
dependencies: 0
inputs: date of birth
1900-09-21
=
function: QueryAttr
dependencies: 1
inputs: date of death
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Roger Moore" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1900-09-21"^^xsd:date . ?e <date_of_death> ?pv .  }
Answer: 1999-03-24