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