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