Question: Does Iowa City or Oklahoma City have the higher elevation relative to sea level?
Choices:
Waukegan
Iowa City
Lansing
Boulder
Columbus
Compton
Franklin
Oklahoma City
Oakland
New Haven
Program:
function: Find
inputs: Iowa City
function: Find
inputs: Oklahoma City
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iowa City" .  } UNION { ?e <pred:name> "Oklahoma City" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oklahoma City