Question: Which has lower elevation above sea level, Andes or Antilles?
Choices:
Piedmont
Lake District
Transylvania
Andes
Antilles
Southern California
Pacific Ocean
Atlantic Canada
South America
Africa
Program:
function: Find
inputs: Andes
function: Find
inputs: Antilles
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Andes" .  } UNION { ?e <pred:name> "Antilles" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Antilles