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