Question: Who was its nominee when Who's Afraid of Virginia Woolf? (the one that was nominated for Academy Award for Best Supporting Actress) was nominated for the Academy Award for Best Picture?
Choices:
Lewis Milestone
Ernest Lehman
Abem Finkel
Frank McCarthy
Susan Sarandon
Patrick J. Palmer
Kevin Kline
Don Bassman
Peter Robb-King
Clive Owen
Answer: Ernest Lehman
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Who's Afraid of Virginia Woolf?" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Supporting Actress" . ?e_2 <pred:name> "Academy Award for Best Picture" . ?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: Academy Award for Best Supporting Actress
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Who's Afraid of Virginia Woolf?
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Picture
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee