Question: Which one is langer, Corsica (the one whose area is 8741 square kilometre) or Guernsey (the one whose area is 63.4 square kilometre) ?
Choices: Puerto Rico
Corsica
Newfoundland
Trinidad
Ireland
Maui
Long Island
Tasmania
Guernsey
Cyprus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Corsica" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "8741"^^xsd:double . } UNION { ?e <pred:name> "Guernsey" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "63.4"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Corsica
function: FilterNum
dependencies: 0
inputs: area
8741 square kilometre
=
function: Find
inputs: Guernsey
function: FilterNum
dependencies: 2
inputs: area
63.4 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
Answer: Corsica