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