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