Question: Which area is smaller, Northamptonshire or Leicestershire?
Choices:
Cumbria
Somerset
Leicestershire
Northamptonshire
West Midlands
Derbyshire
Warwickshire
Staffordshire
Northumberland
Norfolk
Program:
function: Find
inputs: Northamptonshire
function: Find
inputs: Leicestershire
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Northamptonshire" .  } UNION { ?e <pred:name> "Leicestershire" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Leicestershire