Question: What is the name of a non-metropolitan country, if we know that it contains an administrative division called Craven, and its TOID is 7000000000022028  ?
Choices: Gloucestershire
Hampshire
Devon
Dorset
Dan Aykroyd
Derbyshire
Essex
Kent
Cambridgeshire
North Yorkshire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan county" . ?e <contains_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Craven" .  ?e <TOID> ?pv . ?pv <pred:value> "7000000000022028" .  }
Program:
function: Find
inputs: Craven
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: FilterConcept
dependencies: 1
inputs: non-metropolitan county
function: FindAll
function: FilterStr
dependencies: 3
inputs: TOID
7000000000022028
function: FilterConcept
dependencies: 4
inputs: non-metropolitan county
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: North Yorkshire