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