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