Question: Which area has lower elevation above sea level, Iceland (the one whose area is 102775 square kilometre) or Long Island (the one whose population is 2098460)?
Choices:
Ireland
Iceland
Newfoundland
Trinidad
Puerto Rico
Maui
Tasmania
Guernsey
Cyprus
Long Island
Answer: Long Island
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Iceland" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "102775"^^xsd:double . } UNION { ?e <pred:name> "Long Island" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "2098460"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Iceland
function: FilterNum
dependencies: 0
inputs: area
102775 square kilometre
=
function: Find
inputs: Long Island
function: FilterNum
dependencies: 2
inputs: population
2098460
=
function: SelectBetween
dependencies: 1
3
inputs: elevation above sea level
less