Question: Is the elevation of Vermont or of South Dakota higher?
Choices:
New Mexico
Iowa
Hawaii
Vermont
Colorado
Massachusetts
California
Florida
New Jersey
South Dakota
Answer: South Dakota
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vermont" .  } UNION { ?e <pred:name> "South Dakota" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Vermont
function: Find
inputs: South Dakota
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater