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