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