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