Question: Which area has lower elevation above sea level, Bern or El Paso County (the one that has the capital Colorado Springs)?
Choices:
Kent County
African Union
Lee County
Bern
Orange County
El Paso County
Delaware County
Greene County
Washoe County
Cass County
Program:
function: Find
inputs: Bern
function: Find
inputs: Colorado Springs
function: Relate
dependencies: 1
inputs: capital of
forward
function: Find
inputs: El Paso County
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bern" .  } UNION { ?e <pred:name> "El Paso County" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Colorado Springs" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bern