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