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