Question: What is the connection between Take Shelter (the one that has Rosario Dawson as a cast member) to Scott Glenn?
Choices:
director
operator
main food source
affiliation
start point
production designer
family name
cause of death
present in work
cast member
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Take Shelter" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Rosario Dawson" . ?e_2 <pred:name> "Scott Glenn" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Rosario Dawson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Take Shelter
function: And
dependencies: 1
2
function: Find
inputs: Scott Glenn
function: QueryRelation
dependencies: 3
4