Question: What time does the television show end that has a writer named James Manos, Jr. who won a Primetime Emmy Award for Outstanding Writing for a Drama Series for working on it?
Choices:
2004-08-29
1989-02-17
1987-03-08
1998-12-01
1990-10-03
2007-06-10
1910-01-01
2009-01-20
1804-06-30
1932-01-01
Answer: 2007-06-10
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Drama Series" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "James Manos, Jr." . ?e <end_time> ?pv .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Drama Series
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
James Manos, Jr.
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: end time