Question: What is the film whose exploitation visa number is 34695 and that was nominated for a BAFTA Award for Best Film?
Choices:
Talk to Her
Good Night, and Good Luck.
Rebecca
Pleasantville
A Prairie Home Companion
Z
Apocalypse Now
The Pianist
The Constant Gardener
Lost in Translation
Answer: Z
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <exploitation_visa_number> ?pv . ?pv <pred:value> "34695" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Film" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: exploitation visa number
34695
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