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