Question: Which has greater Human Development Index, Rio de Janeiro whose ISNI is 0000 0001 2195 627X or Salvador whose Human Development Index is 0.759?
Choices: Salvador
Kingston
Dundee
Trieste
Chihuahua
Bergen
Abidjan
Santo Domingo
Rio de Janeiro
Cork
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rio de Janeiro" . ?e <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 2195 627X" . } UNION { ?e <pred:name> "Salvador" . ?e <Human_Development_Index> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "0.759"^^xsd:double . } ?e <Human_Development_Index> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rio de Janeiro
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 2195 627X
function: Find
inputs: Salvador
function: FilterNum
dependencies: 2
inputs: Human Development Index
0.759
=
function: SelectBetween
dependencies: 1
3
inputs: Human Development Index
greater
Answer: Rio de Janeiro