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