Question: What is the publication date for Alexandre Dumas' (the one whose date of death is 1870-12-05) notable work, The Three Musketeers (the one whose publication date is 1844)?
Choices:
1844
2007-01-18
1973-01-01
1936-06-10
2007-09-28
2014-03-21
2015-03-13
1993-06-30
1959-12-31
2004-02-13
Program:
function: Find
inputs: Alexandre Dumas
function: FilterDate
dependencies: 0
inputs: date of death
1870-12-05
=
function: Find
inputs: The Three Musketeers
function: FilterYear
dependencies: 2
inputs: publication date
1844
=
function: QueryRelationQualifier
dependencies: 1
3
inputs: notable work
publication date
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alexandre Dumas" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1870-12-05"^^xsd:date . ?e_2 <pred:name> "The Three Musketeers" . ?e_2 <publication_date> ?pv_1 . ?pv_1 <pred:year> 1844 . ?e_1 <notable_work> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <notable_work> ; <pred:fact_t> ?e_2 ] <publication_date> ?qpv .  }
Answer: 1844