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