Question: Does Hove or Bridgend have the larger population?
Choices:
Doncaster
Wigan
Wimbledon
Hove
Colchester
Macclesfield
South Shields
Edmonton
Bridgend
Royal Tunbridge Wells
Program:
function: Find
inputs: Hove
function: Find
inputs: Bridgend
function: SelectBetween
dependencies: 0
1
inputs: population
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hove" .  } UNION { ?e <pred:name> "Bridgend" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hove