Question: Which one is larger by area, Staffordshire or Cornwall?
Choices:
Staffordshire
Warwickshire
Cumbria
Cornwall
Derbyshire
Somerset
Essex
West Midlands
Northumberland
Norfolk
Program:
function: Find
inputs: Staffordshire
function: Find
inputs: Cornwall
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Staffordshire" .  } UNION { ?e <pred:name> "Cornwall" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Cornwall