Question: What is the relationship between The Family Man, with Jeremy Piven in the cast, and Dante Spinotti?
Choices:
record label
designed to carry
founded by
risk factor
capital of
history of topic
godparent
sport
signatory
director of photography
Answer: director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Family Man" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jeremy Piven" . ?e_2 <pred:name> "Dante Spinotti" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Jeremy Piven
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Family Man
function: And
dependencies: 1
2
function: Find
inputs: Dante Spinotti
function: QueryRelation
dependencies: 3
4