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