Question: Does Heathrow Airport or Perth Airport (whose patronage is 2783688) have the lower elevation above sea level?
Choices:
Hamburger SV
Perth Airport
Academy of Television Arts & Sciences
Heathrow Airport
NBCUniversal
McDonald's
E. W. Scripps Company
Pfizer
Vigor Shipyards
United States Department of the Air Force
Answer: Perth Airport
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Heathrow Airport" . } UNION { ?e <pred:name> "Perth Airport" . ?e <patronage> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2783688"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Heathrow Airport
function: Find
inputs: Perth Airport
function: FilterNum
dependencies: 1
inputs: patronage
2783688
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less