Question: Which one has a greater above sea level elevation, West Chester or Canton of Bern ?
Choices:
African Union
Greene County
Delaware County
Cass County
Orange County
San Juan County
canton of Bern
Kent County
West Chester
Washoe County
Program:
function: Find
inputs: West Chester
function: Find
inputs: canton of Bern
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "West Chester" .  } UNION { ?e <pred:name> "canton of Bern" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: canton of Bern