Question: Is the elevation (above sea level) less for Urbana or Naperville?
Choices:
Naperville
Greenville
New Haven
Urbana
Lansing
Columbus
Boulder
Franklin
Compton
Waukegan
Program:
function: Find
inputs: Urbana
function: Find
inputs: Naperville
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Urbana" .  } UNION { ?e <pred:name> "Naperville" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Naperville