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