Question: What has a greater perimeter length, the 4028 square mile area Hawaii or Newfoundland?
Choices:
Staten Island
Maui
Cyprus
Trinidad
Hawaii
Tasmania
Ireland
Newfoundland
Puerto Rico
Long Island
Answer: Newfoundland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hawaii" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square mile" . ?pv_1 <pred:value> "4028"^^xsd:double . } UNION { ?e <pred:name> "Newfoundland" . } ?e <perimeter> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hawaii
function: FilterNum
dependencies: 0
inputs: area
4028 square mile
=
function: Find
inputs: Newfoundland
function: SelectBetween
dependencies: 1
2
inputs: perimeter
greater