Question: Which one, John F. Kennedy International Airport or Los Angeles, has greater elevation (above sea level)?
Choices:
United States Department of the Air Force
Hamburger SV
Pfizer
John F. Kennedy International Airport
McDonald's
E. W. Scripps Company
Vigor Shipyards
BBC
Los Angeles International Airport
Academy of Television Arts & Sciences
Answer: Los Angeles International Airport
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "John F. Kennedy International Airport" .  } UNION { ?e <pred:name> "Los Angeles International Airport" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: John F. Kennedy International Airport
function: Find
inputs: Los Angeles International Airport
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater