Question: What is the connection between Tabriz to Istanbul (the one that is the twinned administrative body of Berlin)?
Choices:
chief executive officer
has cause
twinned administrative body
platform
edition or translation of
operator
organizer
afflicts
penalty
territory overlaps
Program:
function: Find
inputs: Tabriz
function: Find
inputs: Berlin
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Istanbul
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tabriz" . ?e_2 <pred:name> "Istanbul" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Berlin" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body