Question: Which has higher elevation above sea level, Allentown or Easton?
Choices:
Chester
Allentown
Wilkes-Barre
Harrisburg
Greensburg
Easton
Johnstown
Pittsburgh
York
Bethlehem
Program:
function: Find
inputs: Allentown
function: Find
inputs: Easton
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Allentown" .  } UNION { ?e <pred:name> "Easton" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Allentown