Question: Which has more people, Toowoomba or Woking (the one whose population is 62796)?
Choices: Woking
Royal Tunbridge Wells
Wimbledon
Macclesfield
Blackburn
Doncaster
Edmonton
Toowoomba
South Shields
Colchester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Toowoomba" . } UNION { ?e <pred:name> "Woking" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "62796"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Toowoomba
function: Find
inputs: Woking
function: FilterNum
dependencies: 1
inputs: population
62796
=
function: SelectBetween
dependencies: 0
2
inputs: population
greater
Answer: Toowoomba