Question: Does Aldershot or Dover whose country is the United Kingdom have the lower population?
Choices: Dover
Edmonton
Blackburn
Wimbledon
Colchester
Wigan
Macclesfield
Royal Tunbridge Wells
Aldershot
South Shields
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aldershot" .  } UNION { ?e <pred:name> "Dover" . ?e <country> ?e_1 . ?e_1 <pred:name> "United Kingdom" .   } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Aldershot
function: Find
inputs: United Kingdom
function: Relate
dependencies: 1
inputs: country
backward
function: Find
inputs: Dover
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: population
less
Answer: Dover