Question: Who was a director of photography in The Great Gatsby (it was Douglas Slocombe) and also the director of Photography in Jesus Christ Superstar (released in West Germany) ?
Choices:
Sylvester Stallone
Max Fleischer
David Byrne
Paul Simon
Babyface
Rahul Dev Burman
James E. Reilly
Douglas Slocombe
Simon Cowell
Richard Gere
Program:
function: Find
inputs: Douglas Slocombe
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: The Great Gatsby
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director of photography
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Find
inputs: West Germany
function: Relate
dependencies: 6
inputs: film release region
backward
function: Find
inputs: Jesus Christ Superstar
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: director of photography
forward
function: FilterConcept
dependencies: 10
inputs: human
function: And
dependencies: 5
11
function: What
dependencies: 12
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director_of_photography> ?e . ?e_1 <pred:name> "The Great Gatsby" . ?e_1 <director_of_photography> ?e_2 . ?e_2 <pred:name> "Douglas Slocombe" .  ?e_3 <director_of_photography> ?e . ?e_3 <pred:name> "Jesus Christ Superstar" . ?e_3 <film_release_region> ?e_4 . ?e_4 <pred:name> "West Germany" .  }
Answer: Douglas Slocombe