Question: Does Reading (the one whose population is 89893) or Harrisburg have the less elevation (above sea level)?
Choices:
Wilkes-Barre
Harrisburg
York
Johnstown
Bethlehem
Reading
Chester
Greensburg
Philadelphia
Pittsburgh
Answer: Reading
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Reading" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "89893"^^xsd:double . } UNION { ?e <pred:name> "Harrisburg" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Reading
function: FilterNum
dependencies: 0
inputs: population
89893
=
function: Find
inputs: Harrisburg
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less