Question: What is the connection between Vancouver (that is the filming location of The Imaginarium of Doctor Parnassus) and Amsterdam (that is the twinned administrative body of Toronto)?
Choices: territory overlaps
destination point
twinned administrative body
from fictional universe
studies
color
airline alliance
cites
source of material
indigenous to
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vancouver" . ?e_3 <filming_location> ?e_1 . ?e_3 <pred:name> "The Imaginarium of Doctor Parnassus" . ?e_2 <pred:name> "Amsterdam" . ?e_4 <twinned_administrative_body> ?e_2 . ?e_4 <pred:name> "Toronto" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: The Imaginarium of Doctor Parnassus
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Vancouver
function: And
dependencies: 1
2
function: Find
inputs: Toronto
function: Relate
dependencies: 4
inputs: twinned administrative body
forward
function: Find
inputs: Amsterdam
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: twinned administrative body