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