Question: What is the film production company of Waterworld (whose director of photography is Dean Semler)?
Choices:
Castle Rock Entertainment
Davis Entertainment
Warner Bros.
THINKFilm
DreamWorks
Walt Disney Pictures
Touchstone Pictures
Lucasfilm
DreamWorks Animation
Hollywood Pictures
Program:
function: Find
inputs: Dean Semler
function: Relate
dependencies: 0
inputs: director of photography
backward
function: Find
inputs: Waterworld
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: production company
forward
function: FilterConcept
dependencies: 4
inputs: film production company
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film production company" . ?e_1 <production_company> ?e . ?e_1 <pred:name> "Waterworld" . ?e_1 <director_of_photography> ?e_2 . ?e_2 <pred:name> "Dean Semler" .   }
Answer: Davis Entertainment