Question: Of West Sussex and the Cambridgeshire bordering Northamptonshire, which occupies the lesser area?
Choices: West Midlands
Northumberland
Cumbria
Essex
Cambridgeshire
Staffordshire
Derbyshire
Norfolk
West Sussex
Somerset
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Sussex" .  } UNION { ?e <pred:name> "Cambridgeshire" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Northamptonshire" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: West Sussex
function: Find
inputs: Northamptonshire
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Cambridgeshire
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: West Sussex