Question: Which has lower elevation above sea level, North Carolina or South Dakota?
Choices:
Florida
Iowa
Illinois
South Dakota
California
Colorado
New Jersey
Hawaii
North Carolina
New Mexico
Program:
function: Find
inputs: North Carolina
function: Find
inputs: South Dakota
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Carolina" .  } UNION { ?e <pred:name> "South Dakota" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: North Carolina