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