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