Question: What city in Italy is the twinned administrative body of Pueblo?
Choices: Bergamo
Cork
Bari
Naples
Trieste
Kingston
Bologna
Venice
Ravenna
Perugia
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Pueblo" .  ?e <country> ?e_2 . ?e_2 <pred:name> "Italy" .  }
Program:
function: Find
inputs: Pueblo
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: FilterConcept
dependencies: 1
inputs: city
function: Find
inputs: Italy
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: city
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Bergamo