Question: What is the 2011 GSS code for the non-metropolitan district whose capital is Guildford (that is the residence of Alan Turing)?
Choices:
E09000007
E10000014
E08000030
E10000006
E04012698
E09000025
E07000209
E04003533
E04010464
E11000005
Program:
function: Find
inputs: Alan Turing
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Guildford
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital of
forward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: QueryAttr
dependencies: 5
inputs: GSS code (2011)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Guildford" . ?e_2 <residence> ?e_1 . ?e_2 <pred:name> "Alan Turing" .  ?e <GSS_code_(2011)> ?pv .  }
Answer: E07000209