Question: What city is the twinned administrative body of Pavia and Florence (that is the twinned administrative body of Kuwait City)?
Choices:
Sydney
Trieste
Kilkenny
Damascus
Tirana
Kuwait City
Bethlehem
Cork
Edinburgh
Vilnius
Answer: Bethlehem
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Pavia" .  ?e_2 <twinned_administrative_body> ?e . ?e_2 <pred:name> "Florence" . ?e_2 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Kuwait City" .  }
Program:
function: Find
inputs: Pavia
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Kuwait City
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: Find
inputs: Florence
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 7
inputs: city
function: And
dependencies: 2
8
function: What
dependencies: 9