Question: In regards to Ohio or Connecticut, which one has a larger percentage of water area?
Choices:
Connecticut
California
New Mexico
Massachusetts
Iowa
Florida
Colorado
New Jersey
Ohio
Illinois
Program:
function: Find
inputs: Connecticut
function: Find
inputs: Ohio
function: SelectBetween
dependencies: 0
1
inputs: water as percent of area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Connecticut" .  } UNION { ?e <pred:name> "Ohio" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Connecticut