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