Question: Which has a smaller populace: La Jolla, or Great Yarmouth (population 38693)?
Choices:
La Jolla
Royal Tunbridge Wells
Wimbledon
South Shields
Blackburn
Great Yarmouth
Doncaster
Edmonton
Macclesfield
Wigan
Answer: Great Yarmouth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "La Jolla" . } UNION { ?e <pred:name> "Great Yarmouth" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "38693"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: La Jolla
function: Find
inputs: Great Yarmouth
function: FilterNum
dependencies: 1
inputs: population
38693
=
function: SelectBetween
dependencies: 0
2
inputs: population
less