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