Question: What is the FIPS 10-4 (countries and regions) of the ceremonial county of England whose ISO 3166-2 code is GB-LEC?
Choices:
GM10
UKE4
CN
SF11
UKH5
FP
JA40
RS
LE
US32
Answer: UKH5
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "GB-LEC" . ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-LEC
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: QueryAttr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)