Question: Does Catalonia or Rio de Janeiro, with the motto "Recte rem publicam gerere," possess the higher Human Development Index value?
Choices:
New South Wales
Punjab
Catalonia
Minas Gerais
England
Upper Austria
Rio de Janeiro
Chiapas
Lublin Voivodeship
Podlaskie Voivodeship
Answer: Catalonia
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Catalonia" . } UNION { ?e <pred:name> "Rio de Janeiro" . ?e <motto_text> ?pv_1 . ?pv_1 <pred:value> "Recte rem publicam gerere" . } ?e <Human_Development_Index> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Catalonia
function: Find
inputs: Rio de Janeiro
function: FilterStr
dependencies: 1
inputs: motto text
Recte rem publicam gerere
function: SelectBetween
dependencies: 0
2
inputs: Human Development Index
greater