Question: What is the GSS code (2011) for the non-metropolitan county with ISO 3166-2 code, GB-HAM?
Choices:
E08000004
E10000014
E09000033
W06000021
K03000001
E08000012
E04011505
E04012471
E10000009
E07000146
Answer: E10000014
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan county" . ?e <ISO_3166-2_code> ?pv_1 . ?pv_1 <pred:value> "GB-HAM" . ?e <GSS_code_(2011)> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-HAM
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: QueryAttr
dependencies: 2
inputs: GSS code (2011)