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