Question: Which has a larger percent of water area, Aichi Prefecture or Gifu Prefecture?
Choices: Miyagi Prefecture
Gifu Prefecture
Niigata Prefecture
Saitama Prefecture
Kanagawa Prefecture
Fukushima Prefecture
Ōsaka Prefecture
Okinawa Prefecture
Chiba Prefecture
Aichi Prefecture
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aichi Prefecture" .  } UNION { ?e <pred:name> "Gifu Prefecture" .  } ?e <water_as_percent_of_area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Aichi Prefecture
function: Find
inputs: Gifu Prefecture
function: SelectBetween
dependencies: 0
1
inputs: water as percent of area
greater
Answer: Aichi Prefecture