Question: What is the connection between Sunshine (the one that has Jennifer Ehle as a cast member) to Jennifer Ehle?
Choices:
permanent resident of
official color
notable work
sidekick of
distributor
cast member
position played on team / speciality
military conflicts
has contributing factor
kit supplier
Program:
function: Find
inputs: Jennifer Ehle
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Sunshine
function: And
dependencies: 1
2
function: Find
inputs: Jennifer Ehle
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sunshine" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jennifer Ehle" . ?e_2 <pred:name> "Jennifer Ehle" . ?e_1 ?p ?e_2 .  }
Answer: cast member