Question: Which area is smaller, Luton or Kirkcaldy?
Choices:
Wimbledon
Royal Tunbridge Wells
Wigan
Kirkcaldy
Doncaster
Blackburn
Edmonton
Macclesfield
Luton
Colchester
Program:
function: Find
inputs: Luton
function: Find
inputs: Kirkcaldy
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Luton" .  } UNION { ?e <pred:name> "Kirkcaldy" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kirkcaldy