Question: Which place has a larger percent of water area, Arkansas or Vermont?
Choices:
Iowa
Florida
Hawaii
Illinois
Vermont
New Mexico
California
Arkansas
Colorado
Massachusetts
Program:
function: Find
inputs: Arkansas
function: Find
inputs: Vermont
function: SelectBetween
dependencies: 0
1
inputs: water as percent of area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Arkansas" .  } UNION { ?e <pred:name> "Vermont" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Vermont