Question: Which has a smaller population, Tulsa (the one whose WOEID is 2508533) or Paducah?
Choices:
Paducah
Columbus
Tulsa
New Haven
Lansing
Greenville
Boulder
Waukegan
Compton
Franklin
Answer: Paducah
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tulsa" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "2508533" . } UNION { ?e <pred:name> "Paducah" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Tulsa
function: FilterStr
dependencies: 0
inputs: WOEID
2508533
function: Find
inputs: Paducah
function: SelectBetween
dependencies: 1
2
inputs: population
less