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