Question: Which has greater percent of water area, Alaska whose area is 1717856.0 square kilometers or North Carolina?
Choices: New Mexico
Iowa
Hawaii
Illinois
Florida
Colorado
New Jersey
Massachusetts
California
Alaska
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alaska" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "1717856.0"^^xsd:double . } UNION { ?e <pred:name> "North Carolina" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Alaska
function: FilterNum
dependencies: 0
inputs: area
1717856.0 square kilometre
=
function: Find
inputs: North Carolina
function: SelectBetween
dependencies: 1
2
inputs: water as percent of area
greater
Answer: Alaska