Question: Does San Jose or Las Cruces have the lower elevation?
Choices:
Boulder
San Jose
Franklin
Lansing
Greenville
Columbus
New Haven
Compton
Waukegan
Las Cruces
Program:
function: Find
inputs: San Jose
function: Find
inputs: Las Cruces
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Jose" .  } UNION { ?e <pred:name> "Las Cruces" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: San Jose