Question: Which one of these places has the lowest percentage of water area, American Samoa or Puerto Rico (population 3,129,421) ?
Choices:
Greene County
Puerto Rico
American Samoa
Lee County
Washoe County
San Juan County
Orange County
African Union
Delaware County
Cass County
Program:
function: Find
inputs: American Samoa
function: Find
inputs: Puerto Rico
function: FilterNum
dependencies: 1
inputs: population
3129421
=
function: SelectBetween
dependencies: 0
2
inputs: water as percent of area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "American Samoa" . } UNION { ?e <pred:name> "Puerto Rico" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3129421"^^xsd:double . } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Puerto Rico