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