Question: Does Terre Haute or Covington have the higher elevation?
Choices:
Waukegan
Oakland
Greenville
Lansing
Covington
Franklin
Boulder
Compton
New Haven
Terre Haute
Answer: Covington
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Terre Haute" .  } UNION { ?e <pred:name> "Covington" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Terre Haute
function: Find
inputs: Covington
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater