Question: Which area has lower elevation above sea level, Reading (the one whose official website is https://www.readingpa.gov/) or Lancaster (the one whose PermID is 5035884571)?
Choices:
York
Philadelphia
Chester
Wilkes-Barre
Pittsburgh
Lancaster
Greensburg
Johnstown
Reading
Bethlehem
Answer: Reading
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Reading" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "https://www.readingpa.gov/" . } UNION { ?e <pred:name> "Lancaster" . ?e <PermID> ?pv_2 . ?pv_2 <pred:value> "5035884571" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Reading
function: FilterStr
dependencies: 0
inputs: official website
https://www.readingpa.gov/
function: Find
inputs: Lancaster
function: FilterStr
dependencies: 2
inputs: PermID
5035884571
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less