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