Question: Of ceremonial English counties bordering the Surrey where Epsom is located, which occupies the least area?
Choices: Somerset
Greater London
Berkshire
Derbyshire
Kent
Hampshire
Cumbria
East Sussex
West Sussex
Warwickshire
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "ceremonial county of England" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Surrey" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Epsom" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Epsom
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Surrey
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: ceremonial county of England
function: SelectAmong
dependencies: 5
inputs: area
smallest
Answer: Berkshire