Question: Which ceremonial county of England contains the non-metropolitan county administrative division with a TOID of 7000000000023147?
Choices:
North Yorkshire
Essex
Derbyshire
Greater Manchester
Warwickshire
Hampshire
Devon
Cumbria
Somerset
Dorset
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: TOID
7000000000023147
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 3
inputs: ceremonial county of England
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "non-metropolitan county" . ?e_1 <TOID> ?pv_1 . ?pv_1 <pred:value> "7000000000023147" .   }
Answer: Devon