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