Question: Which area is smaller, South Island or Greenland (the one whose elevation (above sea level) is 3694 metre)?
Choices:
Cyprus
Maui
Greenland
Hawaii
Newfoundland
Tasmania
Trinidad
Long Island
South Island
Puerto Rico
Answer: South Island
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "South Island" . } UNION { ?e <pred:name> "Greenland" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "3694"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: South Island
function: Find
inputs: Greenland
function: FilterNum
dependencies: 1
inputs: elevation above sea level
3694 metre
=
function: SelectBetween
dependencies: 0
2
inputs: area
less