Question: Which one is higher above sea level, Danbury or Pompano Beach ?
Choices:
Compton
Boulder
Waukegan
Lansing
Columbus
Greenville
Danbury
New Haven
Pompano Beach
Oakland
Program:
function: Find
inputs: Danbury
function: Find
inputs: Pompano Beach
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Danbury" .  } UNION { ?e <pred:name> "Pompano Beach" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Danbury