Question: Which area has higher elevation above sea level, Greensburg or Chester (the one whose official website is http://www.chestercity.com/)?
Choices:
York
Pittsburgh
Johnstown
Harrisburg
Erie
Easton
Bethlehem
Greensburg
Philadelphia
Chester
Answer: Greensburg
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Greensburg" . } UNION { ?e <pred:name> "Chester" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.chestercity.com/" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Greensburg
function: Find
inputs: Chester
function: FilterStr
dependencies: 1
inputs: official website
http://www.chestercity.com/
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater