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