Question: Does Kanagawa Prefecture or Hiroshima Prefecture have less area?
Choices:
Miyagi Prefecture
Okinawa Prefecture
Hiroshima Prefecture
Ōsaka Prefecture
Niigata Prefecture
Chiba Prefecture
Aichi Prefecture
Fukuoka Prefecture
Kanagawa Prefecture
Fukushima Prefecture
Program:
function: Find
inputs: Kanagawa Prefecture
function: Find
inputs: Hiroshima Prefecture
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kanagawa Prefecture" .  } UNION { ?e <pred:name> "Hiroshima Prefecture" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kanagawa Prefecture