Question: Is the elevation of canton of Bern or American Samoa the higher of the two?
Choices:
Washoe County
Delaware County
American Samoa
Kent County
Cass County
Lee County
African Union
Greene County
canton of Bern
San Juan County
Program:
function: Find
inputs: canton of Bern
function: Find
inputs: American Samoa
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "canton of Bern" .  } UNION { ?e <pred:name> "American Samoa" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: American Samoa