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