Question: Does Newfoundland or Hokkaidō have the lower elevation above sea level?
Choices:
Long Island
Puerto Rico
Hawaii
Ireland
Hokkaidō
Guernsey
Maui
Newfoundland
Tasmania
Trinidad
Program:
function: Find
inputs: Newfoundland
function: Find
inputs: Hokkaidō
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newfoundland" .  } UNION { ?e <pred:name> "Hokkaidō" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Newfoundland