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