Question: Who is the director of photography for Harlow starring Peter Lawford?
Choices:
Sylvester Stallone
Johnny Carson
William Henry Harrison
David Byrne
Rahul Dev Burman
Clint Black
Joseph Ruttenberg
Harold Perrineau
Max Fleischer
Simon Cowell
Program:
function: Find
inputs: Peter Lawford
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Harlow
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director of photography
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> "Harlow" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Peter Lawford" .   }
Answer: Joseph Ruttenberg