Question: Does Ōsaka Prefecture or Nagano Prefecture have a smaller proportion of water coverage?
Choices:
Ōsaka Prefecture
Niigata Prefecture
Fukuoka Prefecture
Kanagawa Prefecture
Fukushima Prefecture
Aichi Prefecture
Nagano Prefecture
Okinawa Prefecture
Chiba Prefecture
Saitama Prefecture
Program:
function: Find
inputs: Ōsaka Prefecture
function: Find
inputs: Nagano Prefecture
function: SelectBetween
dependencies: 0
1
inputs: water as percent of area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ōsaka Prefecture" .  } UNION { ?e <pred:name> "Nagano Prefecture" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Nagano Prefecture