Question: Which has greater elevation above sea level, Greensburg or Bethlehem founded in 1741?
Choices:
Erie
Easton
York
Bethlehem
Harrisburg
Pittsburgh
Philadelphia
Chester
Greensburg
Wilkes-Barre
Answer: Greensburg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greensburg" . } UNION { ?e <pred:name> "Bethlehem" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1741 . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Greensburg
function: Find
inputs: Bethlehem
function: FilterYear
dependencies: 1
inputs: inception
1741
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater