Question: Which has a smaller percentage of area that is water, New Hampshire or Delaware?
Choices:
Colorado
Florida
New Jersey
Massachusetts
California
Iowa
New Hampshire
New Mexico
Delaware
Hawaii
Program:
function: Find
inputs: New Hampshire
function: Find
inputs: Delaware
function: SelectBetween
dependencies: 0
1
inputs: water as percent of area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Hampshire" .  } UNION { ?e <pred:name> "Delaware" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Hampshire