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