Question: What is the FIPS 10-4 (countries and regions) of the administrative territorial entity whose ISO 3166-2 code is GB-DGY?
Choices:
UKT5
BE
UKU2
BG
ZI
RPD9
UKP6
RS
UKH9
MC
Answer: UKU2
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "GB-DGY" . ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-DGY
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: QueryAttr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)