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