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