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