Question: How is Phoenix starring Brittany Murphy related to Anjelica Huston?
Choices:
cast member
founded by
narrator
symptoms
software engine
has parts of the class
does not have part
feast day
home world
eye color
Program:
function: Find
inputs: Brittany Murphy
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Phoenix
function: And
dependencies: 1
2
function: Find
inputs: Anjelica Huston
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Phoenix" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Brittany Murphy" . ?e_2 <pred:name> "Anjelica Huston" . ?e_1 ?p ?e_2 .  }
Answer: cast member