Question: For the big city that shares Wiesbaden's border, what capital equals its twin city?
Choices: Prague
Addis Ababa
Zagreb
Beirut
Haifa
Baku
Watford
Cape Town
Erfurt
Chandigarh
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "big city" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Wiesbaden" .   }
Program:
function: Find
inputs: Wiesbaden
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: big city
function: Relate
dependencies: 2
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 3
inputs: capital
function: What
dependencies: 4
Answer: Baku