Question: tell me the relationship between Angel (the one that has Fisher Stevens as a cast member) and Benjamin Bratt
Choices:
relative
software engine
director of photography
cast member
terminus
legal form
sponsor
series spin-off
distribution
art director
Answer: cast member
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> "Benjamin Bratt" . ?e_1 ?p ?e_2 .  }
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: Benjamin Bratt
function: QueryRelation
dependencies: 3
4