Question: Neil Simon was nominated for a Primetime Emmy Award for Outstanding Writing for a Comedy Series for which work?
Choices:
The Eel
Happy Feet
Funny Girl
Mr. Sammler's Planet
The Road
Out of Sight
Caesar's Hour
24
Lust for Life
The Black Dahlia
Answer: Caesar's Hour
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Neil Simon" . ?e_2 <pred:name> "Primetime Emmy Award for Outstanding Writing for a Comedy Series" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Neil Simon
function: Find
inputs: Primetime Emmy Award for Outstanding Writing for a Comedy Series
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work