Question: How is Phoenix starring Xander Berkeley related to Giovanni Ribisi?
Choices: director of photography
league
is a list of
head coach
conflict
cast member
family
musical conductor
location of final assembly
inspired by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Phoenix" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Xander Berkeley" . ?e_2 <pred:name> "Giovanni Ribisi" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Xander Berkeley
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Phoenix
function: And
dependencies: 1
2
function: Find
inputs: Giovanni Ribisi
function: QueryRelation
dependencies: 3
4
Answer: cast member