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