Question: Which has lower elevation above sea level, Reading (the one that use English as the official language) or Lancaster (the one whose PermID is 5035884571)?
Choices: Greensburg
Wilkes-Barre
York
Lancaster
Pittsburgh
Chester
Johnstown
Harrisburg
Reading
Philadelphia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Reading" . ?e <official_language> ?e_1 . ?e_1 <pred:name> "English" . } UNION { ?e <pred:name> "Lancaster" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> "5035884571" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: official language
backward
function: Find
inputs: Reading
function: And
dependencies: 1
2
function: Find
inputs: Lancaster
function: FilterStr
dependencies: 4
inputs: PermID
5035884571
function: SelectBetween
dependencies: 3
5
inputs: elevation above sea level
less
Answer: Reading