Question: Tell me the movie that was nominated for Academy Award for best picture and that has Bugsy as the title
Choices:
Shine
The Lord of the Rings: The Two Towers
Precious
Rebecca
A Prairie Home Companion
The Towering Inferno
Bugsy
Pleasantville
A Streetcar Named Desire
Talk to Her
Program:
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Bugsy
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Picture" .  ?e <title> ?pv . ?pv <pred:value> "Bugsy" .  }
Answer: Bugsy