Question: Do more people live in Kirkcaldy or in Oakville?
Choices:
Wimbledon
Oakville
Colchester
Wigan
Royal Tunbridge Wells
Edmonton
Blackburn
Kirkcaldy
Macclesfield
South Shields
Program:
function: Find
inputs: Kirkcaldy
function: Find
inputs: Oakville
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kirkcaldy" .  } UNION { ?e <pred:name> "Oakville" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oakville