Question: What is the GSS code (2011) of North Yorkshire (the one whose TOID is 7000000000022028)?
Choices:
E08000007
E09000007
E10000023
E08000002
W04000046
E04011600
E04005040
E06000048
E08000035
E07000027
Program:
function: Find
inputs: North Yorkshire
function: FilterStr
dependencies: 0
inputs: TOID
7000000000022028
function: QueryAttr
dependencies: 1
inputs: GSS code (2011)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "North Yorkshire" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000022028" . ?e <GSS_code_(2011)> ?pv .  }
Answer: E10000023