Question: Tell me the relationship between The Reader (which has Ann Roth as a costume designer) and Roger Deakins.
Choices:
does not have part
tributary
educated at
production company
director of photography
hair color
fabrication method
located in the administrative territorial entity
archives at
currency
Program:
function: Find
inputs: Ann Roth
function: Relate
dependencies: 0
inputs: costume designer
backward
function: Find
inputs: The Reader
function: And
dependencies: 1
2
function: Find
inputs: Roger Deakins
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Reader" . ?e_1 <costume_designer> ?e_3 . ?e_3 <pred:name> "Ann Roth" . ?e_2 <pred:name> "Roger Deakins" . ?e_1 ?p ?e_2 .  }
Answer: director of photography