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