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