Question: Which city bordersan  administrative territorial entity that is  the twinned administrative body of Delft?
Choices:
Tabriz
Cork
Kilkenny
Johannesburg
Munich
Hobart
Erfurt
Jakarta
Haifa
Kingston
Answer: Johannesburg
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "administrative territorial entity" . ?e_2 <twinned_administrative_body> ?e_1 . ?e_2 <pred:name> "Delft" .   }
Program:
function: Find
inputs: Delft
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Relate
dependencies: 2
inputs: shares border with
backward
function: FilterConcept
dependencies: 3
inputs: city
function: What
dependencies: 4