Question: Is Saxony-Anhalt, occupying 24576 square km, or Northern Ireland bigger, in terms of area?
Choices:
Northern Ireland
Podlaskie Voivodeship
Upper Austria
Lublin Voivodeship
Greater Poland Voivodeship
New South Wales
Saxony-Anhalt
Minas Gerais
England
Punjab
Answer: Saxony-Anhalt
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Saxony-Anhalt" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "24576"^^xsd:double . } UNION { ?e <pred:name> "Northern Ireland" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Saxony-Anhalt
function: FilterNum
dependencies: 0
inputs: area
24576 square kilometre
=
function: Find
inputs: Northern Ireland
function: SelectBetween
dependencies: 1
2
inputs: area
greater