Question: What television film's director of photography is the person who is the cinematographer of It's a Wonderful Life (that received the National Film Registry)?
Choices:
Little Women
The Count of Monte Cristo
A Christmas Carol
Blazing Saddles
It's a Wonderful Life
Alice
Nuremberg
Germany in Autumn
The Longest Yard
The Man in the Iron Mask
Answer: Little Women
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <director_of_photography> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <director_of_photography> ?e_1 . ?e_2 <pred:name> "It's a Wonderful Life" . ?e_2 <award_received> ?e_3 . ?e_3 <pred:name> "National Film Registry" .   }
Program:
function: Find
inputs: National Film Registry
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: It's a Wonderful Life
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director of photography
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: director of photography
backward
function: FilterConcept
dependencies: 6
inputs: television film
function: What
dependencies: 7