Question: Which film received the award that was nominated to Dmitri Shostakovich at the 27th Academy Awards?
Choices:
Adolph Deutsch
Oklahoma!
Seven Brides for Seven Brothers
The King and I
Hello, Dolly!
On the Waterfront
West Side Story
The Glenn Miller Story
The Country Girl
An American in Paris
Program:
function: Find
inputs: Dmitri Shostakovich
function: Relate
dependencies: 0
inputs: nominated for
forward
function: FilterConcept
dependencies: 1
inputs: award
function: Relate
dependencies: 2
inputs: award received
backward
function: QFilterStr
dependencies: 3
inputs: statement is subject of
27th Academy Awards
function: FilterConcept
dependencies: 4
inputs: film
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <award_received> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "award" . ?e_2 <nominated_for> ?e_1 . ?e_2 <pred:name> "Dmitri Shostakovich" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "27th Academy Awards" .  }
Answer: Seven Brides for Seven Brothers