Question: What is the connection between Luther (the one that has Robert Morley as a cast member) to Robert Shaw (the one that is a cast member of From Russia with Love)?
Choices: cast member
takes place in fictional universe
appointed by
located in the administrative territorial entity
award disciplines or subjects
mountain range
quotes work
sports season of league or competition
series spin-off
grants
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Luther" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Robert Morley" . ?e_2 <pred:name> "Robert Shaw" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "From Russia with Love" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Robert Morley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Luther
function: And
dependencies: 1
2
function: Find
inputs: From Russia with Love
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Robert Shaw
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: cast member