Question: How is Heat starring Ted Levine related to Dante Spinotti?
Choices:
composer
office held by head of state
creator
designed by
member of sports team
named after
registered with
director of photography
place of burial
permanent resident of
Answer: director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Heat" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ted Levine" . ?e_2 <pred:name> "Dante Spinotti" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ted Levine
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Heat
function: And
dependencies: 1
2
function: Find
inputs: Dante Spinotti
function: QueryRelation
dependencies: 3
4