Question: What is the connection between Angel (the one that has Fisher Stevens as a cast member) to Jerry Orbach?
Choices:
member of political party
continent
contains settlement
cast member
office held by head of the organisation
exclave of
subject has role
illustrator
languages spoken, written or signed
territory overlaps
Program:
function: Find
inputs: Fisher Stevens
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: Find
inputs: Jerry Orbach
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Angel" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Fisher Stevens" . ?e_2 <pred:name> "Jerry Orbach" . ?e_1 ?p ?e_2 .  }
Answer: cast member