Question: Derbyshire has a GSS code (2011) of E10000007, but what ISO 3166-2 code does it have?
Choices:
PL-PD
MC-MC
US-OH
GB-RDG
NZ-N
CN-GD
IE-MN
GB-DBY
GB-KHL
CA-MB
Answer: GB-DBY
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Derbyshire" . ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E10000007" . ?e <ISO_3166-2_code> ?pv .  }
Program:
function: Find
inputs: Derbyshire
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E10000007
function: QueryAttr
dependencies: 1
inputs: ISO 3166-2 code