Question: What is the connection between The Avengers (the one whose release region is Portugal) to Harry Dean Stanton?
Choices: distributor
country
production company
located on terrain feature
field of this occupation
cast member
place of publication
conferred by
original language of film or TV show
director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Avengers" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Portugal" . ?e_2 <pred:name> "Harry Dean Stanton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Portugal
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Avengers
function: And
dependencies: 1
2
function: Find
inputs: Harry Dean Stanton
function: QueryRelation
dependencies: 3
4
Answer: cast member