Question: Which one has less elevation above sea level between Pittsburgh (the one that is the birthplace of F. Murray Abraham) and Harrisburg?
Choices:
Bethlehem
Pittsburgh
Chester
Easton
Philadelphia
Wilkes-Barre
York
Greensburg
Erie
Harrisburg
Program:
function: Find
inputs: F. Murray Abraham
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Pittsburgh
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> "Pittsburgh" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "F. Murray Abraham" .   } UNION { ?e <pred:name> "Harrisburg" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Harrisburg