Question: Tell me the work awarded for David Shore got Primetime Emmy Award for outstanding writing for a drama series.
Choices: CBS Reports
The Mask
Toys
Beat It
Soap
Seven Brides for Seven Brothers
Hercules
House
Carrion Comfort
Big Fish
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "David Shore" . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Drama Series" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: David Shore
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Drama Series
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work
Answer: House