Question: Roger Deakins was director of photography on which movie with Sam Rockwell as a cast member?
Choices:
The Assassination of Jesse James by the Coward Robert Ford
Celebrity
Kundun
Skyfall
Dead Man Walking
The Hitchhiker's Guide to the Galaxy
True Grit
The Green Mile
Frost/Nixon
Doubt
Answer: The Assassination of Jesse James by the Coward Robert Ford
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:name> "Roger Deakins" .  ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Sam Rockwell" .  }
Program:
function: Find
inputs: Roger Deakins
function: Relate
dependencies: 0
inputs: director of photography
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: Sam Rockwell
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6