Question: What UN/LOCODE code does Naples (the one that is the twinned administrative body of Buenos Aires) report?
Choices:
ITVRN
ITTRS
ITLCV
GBBSH
ITNAP
NZLYJ
KRSEL
CHBRN
NZAUK
ITSNA
Program:
function: Find
inputs: Buenos Aires
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Naples
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: UN/LOCODE
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Naples" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Buenos Aires" .  ?e <UN/LOCODE> ?pv .  }
Answer: ITNAP