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