Question: What is the relation of Mighty Joe Young (that has Bill Paxton as a cast member) to Naveen Andrews?
Choices: worshipped by
candidacy in election
place of burial
has effect
cast member
continent
geography of topic
does not have part
grants
operating area
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mighty Joe Young" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Bill Paxton" . ?e_2 <pred:name> "Naveen Andrews" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Bill Paxton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Mighty Joe Young
function: And
dependencies: 1
2
function: Find
inputs: Naveen Andrews
function: QueryRelation
dependencies: 3
4
Answer: cast member