Question: How is Athens that is the twinned administrative body of Sofia related to Sarajevo that is the twinned administrative body of Baku?
Choices: twinned administrative body
statistical leader
languages spoken, written or signed
owner of
fictional universe described in
uses
subsidiary
director/manager
tributary
nutrient
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Athens" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Sofia" . ?e_2 <pred:name> "Sarajevo" . ?e_2 <twinned_administrative_body> ?e_4 . ?e_4 <pred:name> "Baku" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Sofia
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Athens
function: And
dependencies: 1
2
function: Find
inputs: Baku
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: Find
inputs: Sarajevo
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: twinned administrative body