Question: When did Weeds (the one whose date of first performance is 2005-08-08) get nominated for Primetime Emmy Award for Outstanding Comedy Series?
Choices:
1999-02-24
2004-03-01
2014-02-01
1472
1900-12-31
2009
1800-01-01
1450
1802
1652
Answer: 2009
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Weeds" . ?e_1 <date_of_first_performance> ?pv . ?pv <pred:date> "2005-08-08"^^xsd:date . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Comedy Series" . ?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: Weeds
function: FilterDate
dependencies: 0
inputs: date of first performance
2005-08-08
=
function: Find
inputs: Primetime Emmy Award for Outstanding Comedy Series
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
point in time