Question: Being John Malkovich was an Academy Award nominee for Best Writing, Original Screenplay by which screenwriter?
Choices:
Peter Boyle
Martin Gutteridge
Charlie Kaufman
James Poe
Don DaGradi
Ann-Margret
Jack Wild
John A. Alonzo
Alan Robert Murray
Dustin Hoffman
Answer: Charlie Kaufman
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Being John Malkovich" . ?e_2 <pred:name> "Academy Award for Best Writing, Original 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: Being John Malkovich
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee