Question: What is the ISO 3166-2 code of the first-level administrative country subdivision whose FIPS 10-4 (countries and regions) is AS05?
Choices:
IT-88
GB-KEN
PL-MA
JP-04
IT-SA
IT-55
AU-SA
AT-9
GB-FIF
IN-UP
Answer: AU-SA
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_1 . ?pv_1 <pred:value> "AS05" . ?e <ISO_3166-2_code> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 10-4 (countries and regions)
AS05
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: QueryAttr
dependencies: 2
inputs: ISO 3166-2 code