Question: Is Bridgeport or Tyler higher above sea level?
Choices:
Waukegan
Oakland
Columbus
Compton
New Haven
Greenville
Boulder
Tyler
Lansing
Bridgeport
Program:
function: Find
inputs: Bridgeport
function: Find
inputs: Tyler
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bridgeport" .  } UNION { ?e <pred:name> "Tyler" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Tyler