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