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