Question: Is the smaller area occupied by Bilbao or Kolkata?
Choices:
Kingston
Dundee
Bergen
Cork
Abidjan
Kolkata
Chihuahua
Kilkenny
Bilbao
Santo Domingo
Program:
function: Find
inputs: Bilbao
function: Find
inputs: Kolkata
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bilbao" .  } UNION { ?e <pred:name> "Kolkata" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bilbao