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