Question: Which has higher elevation above sea level, Redlands or Detroit (the one that is the narrative location of Real Steel)?
Choices:
Lansing
Columbus
Waukegan
Greenville
Franklin
Compton
Detroit
Boulder
Oakland
Redlands
Program:
function: Find
inputs: Redlands
function: Find
inputs: Real Steel
function: Relate
dependencies: 1
inputs: narrative location
forward
function: Find
inputs: Detroit
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Redlands" .  } UNION { ?e <pred:name> "Detroit" . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "Real Steel" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Redlands