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