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