Question: Which one is smaller by area, Kōbe or Kumasi?
Choices:
Dundee
Kingston
Chihuahua
Kilkenny
Santo Domingo
Kōbe
Abidjan
Bergen
Kumasi
Trieste
Program:
function: Find
inputs: Kōbe
function: Find
inputs: Kumasi
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kōbe" .  } UNION { ?e <pred:name> "Kumasi" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Kumasi