Question: Which has less area, Guernsey (whose area is 63.4 square kilometre) or Guam?
Choices:
Puerto Rico
Cyprus
Tasmania
Long Island
Newfoundland
Maui
Guam
Ireland
Guernsey
Hawaii
Answer: Guernsey
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> "Guam" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Guernsey
function: FilterNum
dependencies: 0
inputs: area
63.4 square kilometre
=
function: Find
inputs: Guam
function: SelectBetween
dependencies: 1
2
inputs: area
less