Question: What is the ISO 3166-2 code for the city of Reading with a population of 162666?
Choices:
GB-RDG
SM-07
CN-HK
CN-MO
US-CT
ES-CT
IN-OR
IE-MH
GB-CMD
IE-WW
Program:
function: Find
inputs: Reading
function: FilterNum
dependencies: 0
inputs: population
162666
=
function: QueryAttr
dependencies: 1
inputs: ISO 3166-2 code
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Reading" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "162666"^^xsd:double . ?e <ISO_3166-2_code> ?pv .  }
Answer: GB-RDG