Question: What is the ISO 3166-2 code of the former French region that shares border with Aquitaine?
Choices:
US-MS
US-OH
GB-OXF
AT-9
FR-T
DE-BE
GB-CMD
CN-33
IE-RN
KR-11
Program:
function: Find
inputs: Aquitaine
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: former French region
function: QueryAttr
dependencies: 2
inputs: ISO 3166-2 code
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Aquitaine" .  ?e <ISO_3166-2_code> ?pv .  }
Answer: FR-T