Question: Is the area greater for Catania or Monza?
Choices:
Abidjan
Cork
Bergen
Trieste
Dundee
Catania
Kilkenny
Monza
Santo Domingo
Kingston
Program:
function: Find
inputs: Catania
function: Find
inputs: Monza
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Catania" .  } UNION { ?e <pred:name> "Monza" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Catania