Question: What is the connection between Daylight (the one that has Dan Hedaya as a cast member) to Universal Pictures (the one that is the distributor of Spirited Away)?
Choices:
nominated for
opposite of
languages spoken, written or signed
derivative work
educated at
home venue
doctoral advisor
conflict
home world
production company
Answer: production company
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Daylight" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Dan Hedaya" . ?e_2 <pred:name> "Universal Pictures" . ?e_4 <distributor> ?e_2 . ?e_4 <pred:name> "Spirited Away" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dan Hedaya
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Daylight
function: And
dependencies: 1
2
function: Find
inputs: Spirited Away
function: Relate
dependencies: 4
inputs: distributor
forward
function: Find
inputs: Universal Pictures
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7