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