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