Question: What is the connection between Terminator Salvation (the one whose release region is Portugal) to Jane Alexander (the one that is a cast member of Kramer vs. Kramer)?
Choices: cast member
religion
developer
doctoral advisor
airline hub
candidacy in election
season starts
subject has role
studied by
lowest point
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Terminator Salvation" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Portugal" . ?e_2 <pred:name> "Jane Alexander" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Kramer vs. Kramer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Portugal
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Terminator Salvation
function: And
dependencies: 1
2
function: Find
inputs: Kramer vs. Kramer
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Jane Alexander
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: cast member