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