Question: What is the relationship between Nine Lives (the one that has Aidan Quinn as a cast member) and Kathy Baker?
Choices:
industry
substitute/deputy/replacement of office/officeholder
sponsor
seed team
public holiday
cast member
copyright holder
model item
source of material
doctoral student
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nine Lives" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Aidan Quinn" . ?e_2 <pred:name> "Kathy Baker" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Aidan Quinn
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Nine Lives
function: And
dependencies: 1
2
function: Find
inputs: Kathy Baker
function: QueryRelation
dependencies: 3
4