Question: Is the percentage of water area greater for Maine or Hawaii (the one whose subreddit is Hawaii)?
Choices:
California
New Mexico
Colorado
Massachusetts
New Jersey
Florida
Maine
Hawaii
Kansas
Iowa
Program:
function: Find
inputs: Maine
function: Find
inputs: Hawaii
function: FilterStr
dependencies: 1
inputs: subreddit
Hawaii
function: SelectBetween
dependencies: 0
2
inputs: water as percent of area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Maine" . } UNION { ?e <pred:name> "Hawaii" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "Hawaii" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hawaii