Question: Does Cheshire have a smaller area than West Yorkshire or is it vice versa?
Choices:
Cumbria
West Midlands
Cheshire
Staffordshire
Warwickshire
Norfolk
Northumberland
Essex
Derbyshire
West Yorkshire
Program:
function: Find
inputs: Cheshire
function: Find
inputs: West Yorkshire
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cheshire" .  } UNION { ?e <pred:name> "West Yorkshire" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: West Yorkshire