Question: When was Flight of the Conchords (the one whose publication date is 2008-04-21) nominated for Grammy Award for Best Comedy Album (the one that was nominated to Patton Oswalt)?
Choices:
1962-05-29
1993-11-19
1998-12-01
1896
1895
2011-05-01
2008
2017-12-21
1851
1775-01-01
Answer: 2008
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Flight of the Conchords" . ?e_1 <publication_date> ?pv . ?pv <pred:date> "2008-04-21"^^xsd:date . ?e_2 <pred:name> "Grammy Award for Best Comedy Album" . ?e_3 <nominated_for> ?e_2 . ?e_3 <pred:name> "Patton Oswalt" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <point_in_time> ?qpv .  }
Program:
function: Find
inputs: Flight of the Conchords
function: FilterDate
dependencies: 0
inputs: publication date
2008-04-21
=
function: Find
inputs: Patton Oswalt
function: Relate
dependencies: 2
inputs: nominated for
forward
function: Find
inputs: Grammy Award for Best Comedy Album
function: And
dependencies: 3
4
function: QueryRelationQualifier
dependencies: 1
5
inputs: nominated for
point in time