Question: Does East Orange or the Atlantic City where Sam O'Steen died have the higher elevation?
Choices:
Hoboken
Elizabeth
East Orange
Bayonne
Trenton
Jersey City
Paterson
Perth Amboy
Atlantic City
Plainfield
Program:
function: Find
inputs: East Orange
function: Find
inputs: Sam O'Steen
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Atlantic City
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "East Orange" .  } UNION { ?e <pred:name> "Atlantic City" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Sam O'Steen" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: East Orange