Question: The Diary of Anne Frank (with Shelley Winters as a cast member) earned an Academy Award for which Best Supporting Actress?
Choices:
South Sudan–United States relations
China–Morocco relations
Libya–Pakistan relations
Ethiopia–Taiwan relations
Colombia–Panama border
India-Zambia relations
32nd Academy Awards
Canada–Panama relations
Germany–Kuwait relations
Democratic Republic of the Congo–Rwanda border
Answer: 32nd Academy Awards
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Diary of Anne Frank" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Shelley Winters" . ?e_2 <pred:name> "Academy Award for Best Supporting Actress" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Shelley Winters
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Diary of Anne Frank
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
statement is subject of