Question: Does North Carolina or Delaware have a greater percentage of water area?
Choices:
Massachusetts
California
Hawaii
Colorado
North Carolina
New Jersey
Illinois
Delaware
New Mexico
Florida
Program:
function: Find
inputs: North Carolina
function: Find
inputs: Delaware
function: SelectBetween
dependencies: 0
1
inputs: water as percent of area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Carolina" .  } UNION { ?e <pred:name> "Delaware" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Delaware