Question: Which has fewer people, Great Yarmouth (the one whose WOEID is 21763) or Hove?
Choices:
Wimbledon
Wigan
Doncaster
Hove
Edmonton
Great Yarmouth
Royal Tunbridge Wells
Macclesfield
Colchester
Blackburn
Answer: Great Yarmouth
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Great Yarmouth" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "21763" . } UNION { ?e <pred:name> "Hove" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Great Yarmouth
function: FilterStr
dependencies: 0
inputs: WOEID
21763
function: Find
inputs: Hove
function: SelectBetween
dependencies: 1
2
inputs: population
less