Question: Tell me the relationship between Saskatchewan (the one that was directed by Raoul Walsh) to Shelley Winters.
Choices:
military branch
dissertation submitted to
seed team
owned by
field of this occupation
cast member
manufacturer
month of the year
educated at
kit supplier
Program:
function: Find
inputs: Raoul Walsh
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Saskatchewan
function: And
dependencies: 1
2
function: Find
inputs: Shelley Winters
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Saskatchewan" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Raoul Walsh" . ?e_2 <pred:name> "Shelley Winters" . ?e_1 ?p ?e_2 .  }
Answer: cast member