Question: What is the film with CANTIC-ID a12024132 and which was nominated for a BAFTA Award for Best Film?
Choices:
The Mission
There Will Be Blood
The Trouble with Harry
The Motorcycle Diaries
Rebecca
A Prairie Home Companion
Unforgiven
The Fifth Element
Talk to Her
Rear Window
Answer: The Trouble with Harry
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <CANTIC-ID> ?pv . ?pv <pred:value> "a12024132" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Film" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: CANTIC-ID
a12024132
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: BAFTA Award for Best Film
function: Relate
dependencies: 3
inputs: nominated for
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6