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