Question: What non-metropolitan district is located in North Yorkshire whose TOID is 7000000000022028 and whose GSS code (2011) is E07000163?
Choices: Craven
Chichester
Kettering
South Somerset
Woking
West Dorset
King's Lynn and West Norfolk
Carlisle
Guildford
Great Yarmouth
SPARQL: SELECT DISTINCT ?e 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> "North Yorkshire" . ?e_1 <TOID> ?pv . ?pv <pred:value> "7000000000022028" .  ?e <GSS_code_(2011)> ?pv_1 . ?pv_1 <pred:value> "E07000163" .  }
Program:
function: Find
inputs: North Yorkshire
function: FilterStr
dependencies: 0
inputs: TOID
7000000000022028
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: non-metropolitan district
function: FindAll
function: FilterStr
dependencies: 4
inputs: GSS code (2011)
E07000163
function: FilterConcept
dependencies: 5
inputs: non-metropolitan district
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Craven