Question: Between Torrance and New Rochelle, which one has a lower above-sea-level elevation?
Choices:
Columbus
Greenville
New Rochelle
Boulder
Franklin
Lansing
Waukegan
Oakland
New Haven
Torrance
Program:
function: Find
inputs: Torrance
function: Find
inputs: New Rochelle
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Torrance" .  } UNION { ?e <pred:name> "New Rochelle" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Rochelle