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