Question: Matt Groening received a Primetime Emmy Award for Outstanding Animated Program for which work?
Choices:
Will You Be There
What Happened Was
Bicentennial Nigger
The Simpsons
Angels in America
Little Odessa
Old School
I Write Sins Not Tragedies
Fly Like an Eagle
Koi... Mil Gaya
Answer: The Simpsons
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Matt Groening" . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Animated Program" . ?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: Matt Groening
function: Find
inputs: Primetime Emmy Award for Outstanding Animated Program
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work