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