Question: Which is smaller, Kirkcaldy or Bury (OS grid reference SD805105)?
Choices: Macclesfield
South Shields
Wigan
Bury
Doncaster
Blackburn
Edmonton
Colchester
Royal Tunbridge Wells
Kirkcaldy
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bury" . ?e <OS_grid_reference> ?pv_1 . ?pv_1 <pred:value> "SD805105" . } UNION { ?e <pred:name> "Kirkcaldy" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Bury
function: FilterStr
dependencies: 0
inputs: OS grid reference
SD805105
function: Find
inputs: Kirkcaldy
function: SelectBetween
dependencies: 1
2
inputs: area
less
Answer: Kirkcaldy