Question: What is the connection between Sarajevo (the one that is the twinned administrative body of Skopje) to Federation of Bosnia and Herzegovina?
Choices:
found
item operated
mother
film editor
narrator
killed by
capital of
located in the administrative territorial entity
is a list of
used by
Answer: capital of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sarajevo" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Skopje" . ?e_2 <pred:name> "Federation of Bosnia and Herzegovina" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Skopje
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Sarajevo
function: And
dependencies: 1
2
function: Find
inputs: Federation of Bosnia and Herzegovina
function: QueryRelation
dependencies: 3
4