Question: What is the relationship between Take Shelter (the one that has Scott Glenn as a cast member) and Scott Glenn?
Choices:
history of topic
office held by head of government
appears in the form of
screenwriter
cast member
organisation directed from the office or person
dialect of
airline hub
industry
religion
Program:
function: Find
inputs: Scott Glenn
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
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Take Shelter" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Scott Glenn" . ?e_2 <pred:name> "Scott Glenn" . ?e_1 ?p ?e_2 .  }
Answer: cast member