Question: Is Champaign or Corpus Christi at a higher elevation?
Choices:
Greenville
Compton
New Haven
Corpus Christi
Lansing
Boulder
Champaign
Columbus
Waukegan
Oakland
Program:
function: Find
inputs: Champaign
function: Find
inputs: Corpus Christi
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Champaign" .  } UNION { ?e <pred:name> "Corpus Christi" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Champaign