Question: Is the water area percentage higher in Kentucky (PermID 5001434072) or Utah (FIPS 10-4 (countries and regions) US49)?
Choices:
Hawaii
California
New Jersey
Illinois
Massachusetts
New Mexico
Colorado
Iowa
Utah
Kentucky
Program:
function: Find
inputs: Kentucky
function: FilterStr
dependencies: 0
inputs: PermID
5001434072
function: Find
inputs: Utah
function: FilterStr
dependencies: 2
inputs: FIPS 10-4 (countries and regions)
US49
function: SelectBetween
dependencies: 1
3
inputs: water as percent of area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kentucky" . ?e <PermID> ?pv_1 . ?pv_1 <pred:value> "5001434072" . } UNION { ?e <pred:name> "Utah" . ?e <FIPS_10-4_(countries_and_regions)> ?pv_2 . ?pv_2 <pred:value> "US49" . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Utah