Question: What is the connection between Angel (that has Seth Green as a cast member) and Christina Hendricks?
Choices:
cast member
source of income
owned by
country for sport
director of photography
father
record label
military branch
home port
follows
Program:
function: Find
inputs: Seth Green
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Angel
function: And
dependencies: 1
2
function: Find
inputs: Christina Hendricks
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> "Seth Green" . ?e_2 <pred:name> "Christina Hendricks" . ?e_1 ?p ?e_2 .  }
Answer: cast member