Question: Which as the smaller area, Leicestershire or Somerset, which contains Bath?
Choices: Norfolk
Somerset
Cumbria
Derbyshire
Essex
Leicestershire
Northumberland
Warwickshire
Staffordshire
West Midlands
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leicestershire" .  } UNION { ?e <pred:name> "Somerset" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Bath" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Leicestershire
function: Find
inputs: Bath
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Somerset
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
Answer: Leicestershire