Question: Which area has lower elevation above sea level, Stamford or Greenville (the one whose population is 62252)?
Choices:
Waukegan
Oakland
Greenville
New Haven
Lansing
Columbus
Franklin
Boulder
Compton
Stamford
Answer: Stamford
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Stamford" . } UNION { ?e <pred:name> "Greenville" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "62252"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Stamford
function: Find
inputs: Greenville
function: FilterNum
dependencies: 1
inputs: population
62252
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less