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