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