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