Question: Which has a lower population count, Northampton which has a local dialing code of 413, or Lake Forest?
Choices:
Northampton
Lansing
Boulder
Lake Forest
New Haven
Greenville
Franklin
Waukegan
Columbus
Compton
Answer: Lake Forest
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lake Forest" . } UNION { ?e <pred:name> "Northampton" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "413" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lake Forest
function: Find
inputs: Northampton
function: FilterStr
dependencies: 1
inputs: local dialing code
413
function: SelectBetween
dependencies: 0
2
inputs: population
less