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