Question: Which has higher elevation above sea level, Mansfield that is the filming location of The Shawshank Redemption or Miami Beach?
Choices:
Miami Beach
Mansfield
Columbus
Boulder
Compton
Oakland
Greenville
New Haven
Franklin
Waukegan
Program:
function: Find
inputs: The Shawshank Redemption
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Mansfield
function: And
dependencies: 1
2
function: Find
inputs: Miami Beach
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mansfield" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "The Shawshank Redemption" .   } UNION { ?e <pred:name> "Miami Beach" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Mansfield