Question: Does Chiba Prefecture or Niigata Prefecture have the larger land area?
Choices:
Aichi Prefecture
Fukuoka Prefecture
Okinawa Prefecture
Saitama Prefecture
Chiba Prefecture
Niigata Prefecture
Miyagi Prefecture
Fukushima Prefecture
Ōsaka Prefecture
Nagano Prefecture
Program:
function: Find
inputs: Chiba Prefecture
function: Find
inputs: Niigata Prefecture
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chiba Prefecture" .  } UNION { ?e <pred:name> "Niigata Prefecture" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Niigata Prefecture