Question: What is the ISO 3166-2 code for the region of Italy where its capital Florence is located (twinned with the administrative Body of Yerevan)?
Choices:
AT-4
IE-MN
MX-VER
GB-STH
QA-DA
IT-52
ZA-NL
GB-DER
FR-O
GB-NTH
Program:
function: Find
inputs: Yerevan
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Florence
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: region of Italy
function: QueryAttr
dependencies: 5
inputs: ISO 3166-2 code
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of Italy" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Florence" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Yerevan" .  ?e <ISO_3166-2_code> ?pv .  }
Answer: IT-52