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