Question: What is the ISO 3166-2 code of the first-level administrative country subdivision that shares a border with Afghanistan?
Choices: KP-01
GB-GLG
AU-WA
US-NE
KE-110
MT-60
MX-SON
PK-BA
US-SD
GB-SOS
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Afghanistan" .  ?e <ISO_3166-2_code> ?pv .  }
Program:
function: Find
inputs: Afghanistan
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: QueryAttr
dependencies: 2
inputs: ISO 3166-2 code
Answer: PK-BA