Question: How is Phoenix (with Ray Liotta) related to Ray Liotta?
Choices: film regional debut venue
author
cast member
interests
significant event
health specialty
located on astronomical location
coextensive with
residence
main food source
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Phoenix" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Ray Liotta" . ?e_2 <pred:name> "Ray Liotta" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ray Liotta
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Phoenix
function: And
dependencies: 1
2
function: Find
inputs: Ray Liotta
function: QueryRelation
dependencies: 3
4
Answer: cast member