Question: Who received an Oscar nomination for Best Writing, Adapted Screenplay for A Simple Plan?
Choices: Scott Smith
Christopher Greenbury
Chris David
Jake Gyllenhaal
Leo McCarey
Tom Perrotta
Anna Kendrick
Norma Heyman
Franklin Milton
Lee Sandales
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "A Simple Plan" . ?e_2 <pred:name> "Academy Award for Best Writing, Adapted Screenplay" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <nominee> ?qpv .  }
Program:
function: Find
inputs: A Simple Plan
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee
Answer: Scott Smith