Question: Is the larger area occupied by Scotland (native label Scotland) or Greenland, at 2166086.0 square kilometers?
Choices:
Scotland
Netherlands
Annie
Cook Islands
Faroe Islands
Greenland
Wales
Tarzan
Kurt Vonnegut
Michael Gough
Program:
function: Find
inputs: Scotland
function: FilterStr
dependencies: 0
inputs: native label
Scotland
function: Find
inputs: Greenland
function: FilterNum
dependencies: 2
inputs: area
2166086.0 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scotland" . ?e <native_label> ?pv_1 . ?pv_1 <pred:value> "Scotland" . } UNION { ?e <pred:name> "Greenland" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "2166086.0"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Greenland