Question: What is the WOEID for the administrative territorial entity whose ISO 3166-2 code is GB-CNW?
Choices:
854823
1099805
676757
12602225
664055
24996
727132
2459618
1428499
2483553
Answer: 12602225
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-CNW" . ?e <WOEID> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-CNW
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: QueryAttr
dependencies: 2
inputs: WOEID