Question: What is the GSS code (2011) for the non-metropolitan county which has an ISO 3166-2 code of GB-DBY?
Choices:
E08000025
E08000036
E04012434
E10000007
E10000032
E10000012
E04000921
W04000883
E09000007
W04000046
Answer: E10000007
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-DBY" . ?e <GSS_code_(2011)> ?pv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-DBY
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: QueryAttr
dependencies: 2
inputs: GSS code (2011)