Question: Which one has less area, Guernsey whose area is 63.4 square kilometres or Crete?
Choices:
Hawaii
Maui
Guernsey
Puerto Rico
Long Island
Cyprus
Newfoundland
Ireland
Tasmania
Crete
Program:
function: Find
inputs: Guernsey
function: FilterNum
dependencies: 0
inputs: area
63.4 square kilometre
=
function: Find
inputs: Crete
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Guernsey" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "63.4"^^xsd:double . } UNION { ?e <pred:name> "Crete" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Guernsey