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