Question: For what work was Brian Grazer nominated for an Academy Award for Best Writing, Original Screenplay?
Choices:
Porgy and Bess
Taxi Driver
Life or Something Like It
Swept Away
Splash
Ray
The Grain That Built a Hemisphere
Bicycle Repairman
Boardwalk Empire
Clean and Sober
Answer: Splash
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Brian Grazer" . ?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 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Brian Grazer
function: Find
inputs: Academy Award for Best Writing, Original Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work