Question: Which movie features John Turturro in the cast and is titled Barton Fink?
Choices:
A Prairie Home Companion
Transformers: Dark of the Moon
Anger Management
The Taking of Pelham 123
Talk to Her
Do the Right Thing
The Good Shepherd
Rebecca
Barton Fink
She Hate Me
Program:
function: Find
inputs: John Turturro
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
Barton Fink
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 <cast_member> ?e_1 . ?e_1 <pred:name> "John Turturro" .  ?e <title> ?pv . ?pv <pred:value> "Barton Fink" .  }
Answer: Barton Fink