Question: Who was the Academy Award nominee for Best Actress for A Streetcar Named Desire, which won the Academy Award for Best Supporting Actress?
Choices:
Russell Earl
Jeremy Irons
Vivien Leigh
Mike Todd
Milo Addica
Paul Rubell
Dylan Tichenor
Michael J. McAlister
Allan Starski
Quentin Tarantino
Answer: Vivien Leigh
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "A Streetcar Named Desire" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Supporting Actress" . ?e_2 <pred:name> "Academy Award for Best Actress" . ?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: award received
backward
function: Find
inputs: A Streetcar Named Desire
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: nominated for
nominee