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