Question: What is the FIPS 10-4, for countries and regions, of an administrative territorial entity that includes  Bangor (the one whose local dialing code is 01248) ?
Choices:
CN
MC
VQ
MV
UKY2
US44
MY09
EI27
HU05
MJ
Answer: UKY2
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Bangor" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "01248" . ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Program:
function: Find
inputs: Bangor
function: FilterStr
dependencies: 0
inputs: local dialing code
01248
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: QueryAttr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)