Question: Which one, Ōsaka Prefecture or Shizuoka Prefecture, has less percentage of water area?
Choices:
Fukushima Prefecture
Chiba Prefecture
Kanagawa Prefecture
Ōsaka Prefecture
Shizuoka Prefecture
Aichi Prefecture
Saitama Prefecture
Okinawa Prefecture
Miyagi Prefecture
Niigata Prefecture
Program:
function: Find
inputs: Ōsaka Prefecture
function: Find
inputs: Shizuoka 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> "Shizuoka Prefecture" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Shizuoka Prefecture