Question: Does Chester, where Alex North was born, or Harrisburg have the lower elevation, relative to sea level?
Choices:
Johnstown
Chester
Greensburg
Pittsburgh
Wilkes-Barre
Erie
Harrisburg
Bethlehem
Philadelphia
Easton
Program:
function: Find
inputs: Alex North
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Chester
function: And
dependencies: 1
2
function: Find
inputs: Harrisburg
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chester" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Alex North" .   } UNION { ?e <pred:name> "Harrisburg" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Chester