Question: Does Montgomery or Natchitoches have the higher elevation?
Choices:
Franklin
Compton
Columbus
Oakland
Waukegan
Natchitoches
Greenville
Montgomery
New Haven
Lansing
Program:
function: Find
inputs: Montgomery
function: Find
inputs: Natchitoches
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Montgomery" .  } UNION { ?e <pred:name> "Natchitoches" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Montgomery