Question: When did Michael Jackson (the one whose date of birth is 1969-04-12) die?
Choices:
1986-06-14
1996-03-09
1999-07-01
1984-03-18
2007-08-08
2005-04-02
2009-01-27
2002-05-20
2017-05-12
1877-07-24
Program:
function: Find
inputs: Michael Jackson
function: FilterDate
dependencies: 0
inputs: date of birth
1969-04-12
=
function: QueryAttr
dependencies: 1
inputs: date of death
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Michael Jackson" . ?e <date_of_birth> ?pv_1 . ?pv_1 <pred:date> "1969-04-12"^^xsd:date . ?e <date_of_death> ?pv .  }
Answer: 2017-05-12