Question: What work did Naya Rivera win the Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series for?
Choices:
I Don't Know How She Does It
Tom Hanks
Bob & Carol & Ted & Alice
Buddenbrooks
Tommy
Deewaar
Glee
Aandhi
Two and a Half Men
BBC Online
Answer: Glee
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series" . ?e_2 <pred:name> "Naya Rivera" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by an Ensemble in a Comedy Series
function: Find
inputs: Naya Rivera
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work