Question: Is Buckinghamshire or Greater Manchester smaller, area-wise?
Choices:
Cumbria
Northumberland
Buckinghamshire
Warwickshire
Greater Manchester
Essex
Derbyshire
West Midlands
Norfolk
Staffordshire
Program:
function: Find
inputs: Buckinghamshire
function: Find
inputs: Greater Manchester
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Buckinghamshire" .  } UNION { ?e <pred:name> "Greater Manchester" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Greater Manchester