Question: What non-metropolitan district has the 2011 GSS code E07000147 and is located in Norfolk (that contains King's Lynn and West Norfolk)?
Choices: Great Yarmouth
Kettering
South Somerset
Carlisle
Chichester
North Norfolk
Norwich
Craven
Guildford
West Dorset
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" . ?e <GSS_code_(2011)> ?pv . ?pv <pred:value> "E07000147" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Norfolk" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "King's Lynn and West Norfolk" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
E07000147
function: FilterConcept
dependencies: 1
inputs: non-metropolitan district
function: Find
inputs: King's Lynn and West Norfolk
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Norfolk
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 7
inputs: non-metropolitan district
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: North Norfolk