Question: For The Help (the one that has Mary Steenburgen as a cast member), who received the Academy Award for Best Supporting Actress as its winner?
Choices:
Scott Alexander
Valentine Davies
André Previn
Margaret Furse
Maurice Sendak
John T. Reitz
Myron Nettinga
John D. Brancato
Jamie Foxx
Octavia Spencer
Answer: Octavia Spencer
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "The Help" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Mary Steenburgen" . ?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 ] <winner> ?qpv .  }
Program:
function: Find
inputs: Mary Steenburgen
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Help
function: And
dependencies: 1
2
function: Find
inputs: Academy Award for Best Supporting Actress
function: QueryRelationQualifier
dependencies: 3
4
inputs: award received
winner