Question: What is the connection between Espoo to Shanghai (the one that is the twinned administrative body of Haifa)?
Choices: model item
dedicated to
heritage designation
parent club
production company
military conflicts
does not have part
presenter
twinned administrative body
located on terrain feature
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Espoo" . ?e_2 <pred:name> "Shanghai" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Haifa" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Espoo
function: Find
inputs: Haifa
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Shanghai
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: twinned administrative body