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