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