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