Question: Who was nominated for an Academy Award for Best Writing, Adapted Screenplay for Becket whose exploitation visa number is 28767?
Choices:
Jeff Cronenweth
Arianne Phillips
Adrian Lyne
Joan Cusack
Ned Beatty
William C. Mellor
Billy Wilder
Edward Anhalt
Andrew Lesnie
Kami Asgar
Answer: Edward Anhalt
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Becket" . ?e_1 <exploitation_visa_number> ?pv . ?pv <pred:value> "28767" . ?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: Becket
function: FilterStr
dependencies: 0
inputs: exploitation visa number
28767
function: Find
inputs: Academy Award for Best Writing, Adapted Screenplay
function: QueryRelationQualifier
dependencies: 1
2
inputs: nominated for
nominee