Question: What is the GSS code (2011) of the non-metropolitan district that is located in Cambridgeshire (the one that contains the administrative division South Cambridgeshire) ?
Choices: E10000007
E10000006
E08000004
E04012434
E07000012
E10000032
E08000030
E06000028
E10000030
K03000001
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Cambridgeshire" . ?e_1 <contains_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "South Cambridgeshire" .  ?e <GSS_code_(2011)> ?pv .  }
Program:
function: Find
inputs: South Cambridgeshire
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Cambridgeshire
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: QueryAttr
dependencies: 5
inputs: GSS code (2011)
Answer: E07000012