Question: For Fatal Attraction, who was the nominee when it was nominated for the Academy Award for Best Writing, Adapted Screenplay?
Choices:
Jean Simmons
Gig Young
Henry Ginsberg
James Dearden
Bud Alper
Pud Cusack
Jon Thum
Jonathan Sanger
Lee Smith
James Coburn
Answer: James Dearden
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Fatal Attraction" . ?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: Fatal Attraction
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
nominee