Question: Which ceremonial English county with ISO 3166-2 code GB-BKM borders Berkshire?
Choices:
Buckinghamshire
Surrey
Derbyshire
Warwickshire
West Midlands
Essex
Hampshire
Northumberland
Somerset
Cumbria
Answer: Buckinghamshire
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <ISO_3166-2_code> ?pv . ?pv <pred:value> "GB-BKM" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Berkshire" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ISO 3166-2 code
GB-BKM
function: FilterConcept
dependencies: 1
inputs: ceremonial county of England
function: Find
inputs: Berkshire
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: ceremonial county of England
function: And
dependencies: 2
5
function: What
dependencies: 6