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