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