Question: Which has less population, Santa Rosa or Longview whose local dialing code is 903?
Choices:
Compton
Columbus
Greenville
Boulder
Oakland
Lansing
Waukegan
New Haven
Franklin
Longview
Answer: Longview
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Rosa" . } UNION { ?e <pred:name> "Longview" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "903" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Santa Rosa
function: Find
inputs: Longview
function: FilterStr
dependencies: 1
inputs: local dialing code
903
function: SelectBetween
dependencies: 0
2
inputs: population
less