Question: Does Helsinki or Limerick have greater area?
Choices:
Trieste
Limerick
Santo Domingo
Kingston
Chihuahua
Kilkenny
Helsinki
Cork
Abidjan
Bergen
Answer: Helsinki
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
Program:
function: Find
inputs: Helsinki
function: Find
inputs: Limerick
function: SelectBetween
dependencies: 0
1
inputs: area
greater