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