Question: Which movie won at the 40th Academy Awards, where Jodie Foster was a winner?
Choices:
Katharine Hepburn
Who's Afraid of Virginia Woolf?
In the Heat of the Night
The Iron Lady
Bonnie and Clyde
It Happened One Night
The Piano
Guess Who's Coming to Dinner
The Hours
Coal Miner's Daughter
Answer: Guess Who's Coming to Dinner
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> "Academy Awards" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> "Jodie Foster" .  [ <pred:fact_h> ?e ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "40th Academy Awards" .  }
Program:
function: Find
inputs: Jodie Foster
function: Relate
dependencies: 0
inputs: award received
forward
function: FilterConcept
dependencies: 1
inputs: Academy Awards
function: Relate
dependencies: 2
inputs: award received
backward
function: QFilterStr
dependencies: 3
inputs: statement is subject of
40th Academy Awards
function: FilterConcept
dependencies: 4
inputs: film
function: What
dependencies: 5