Question: What film was nominated for the award that was received by Mel Brooks in 2002?
Choices:
Pink Floyd
Rush
District 9
Radio
Willie Nelson
Kundun
The Apartment
Flight
Legend
The Squid and the Whale
Program:
function: Find
inputs: Mel Brooks
function: Relate
dependencies: 0
inputs: award received
forward
function: QFilterYear
dependencies: 1
inputs: point in time
2002
=
function: FilterConcept
dependencies: 2
inputs: award
function: Relate
dependencies: 3
inputs: nominated for
backward
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 <nominated_for> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "award" . ?e_2 <award_received> ?e_1 . ?e_2 <pred:name> "Mel Brooks" . [ <pred:fact_h> ?e_2 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2002 .   }
Answer: Legend