Question: Does Teaneck or West Orange have a greater elevation?
Choices:
Ridgewood
Belleville
Whanganui
Livingston
West Orange
North Hollywood
Red Bank
Verona
Princeton
Teaneck
Answer: West Orange
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Teaneck" .  } UNION { ?e <pred:name> "West Orange" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Teaneck
function: Find
inputs: West Orange
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater