Question: Is Dunfermline or Luton less populated than the other?
Choices:
Colchester
Doncaster
Royal Tunbridge Wells
Macclesfield
Luton
Edmonton
Dunfermline
Blackburn
Wimbledon
Wigan
Program:
function: Find
inputs: Dunfermline
function: Find
inputs: Luton
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dunfermline" .  } UNION { ?e <pred:name> "Luton" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Dunfermline