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