Question: Which one has higher elevation above sea level, Trenton or Bayonne?
Choices:
East Orange
Bayonne
Passaic
Atlantic City
Hoboken
Perth Amboy
Jersey City
Plainfield
Trenton
Elizabeth
Answer: Trenton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Trenton" .  } UNION { ?e <pred:name> "Bayonne" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Trenton
function: Find
inputs: Bayonne
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater