Question: Does Staffordshire or Warwickshire take up a smaller area, between the two?
Choices:
Hertfordshire
Somerset
Warwickshire
Cumbria
Northumberland
East Riding of Yorkshire
West Midlands
Staffordshire
Norfolk
Essex
Program:
function: Find
inputs: Staffordshire
function: Find
inputs: Warwickshire
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Staffordshire" .  } UNION { ?e <pred:name> "Warwickshire" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Warwickshire