Question: What is the title for the film that received an Academy Award for Best Supporting Actress (the winner of this statement is Olympia Dukakis)?
Choices:
Barton Fink
Shortbus
The Siege
Hereafter
I Am Legend
Sex and the City
The Color Purple
Moonstruck
In Bruges
Lisbon
Answer: Moonstruck
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <award_received> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Supporting Actress" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <winner> ?qpv . ?qpv <pred:value> "Olympia Dukakis" . ?e <title> ?pv .  }
Program:
function: Find
inputs: Academy Award for Best Supporting Actress
function: Relate
dependencies: 0
inputs: award received
backward
function: QFilterStr
dependencies: 1
inputs: winner
Olympia Dukakis
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttr
dependencies: 3
inputs: title