Question: What English ceremonial county serves as the narrative location of Rebecca and also borders Devon (the birthplace of Ian Bryce) ?
Choices: Norfolk
Dorset
West Midlands
Cumbria
Derbyshire
Essex
Cornwall
Northumberland
Warwickshire
Staffordshire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Rebecca" .  ?e_2 <shares_border_with> ?e . ?e_2 <pred:name> "Devon" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Ian Bryce" .  }
Program:
function: Find
inputs: Rebecca
function: Relate
dependencies: 0
inputs: narrative location
forward
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: Find
inputs: Ian Bryce
function: Relate
dependencies: 3
inputs: place of birth
forward
function: Find
inputs: Devon
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: shares border with
forward
function: FilterConcept
dependencies: 7
inputs: ceremonial county of England
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: Cornwall