Question: Which area has higher elevation above sea level, Saint Paul or Costa Mesa?
Choices:
Lansing
Costa Mesa
Oakland
Franklin
Columbus
Boulder
New Haven
Compton
Saint Paul
Waukegan
Program:
function: Find
inputs: Saint Paul
function: Find
inputs: Costa Mesa
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saint Paul" .  } UNION { ?e <pred:name> "Costa Mesa" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Saint Paul