Question: Does Nepal or Tuvalu, with the demonym টুভালীয়, have a greater nominal GDP per capita?
Choices: Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Switzerland
Cambodia
Nepal
Weimar Republic
South Sudan
Benin
Kiribati
Tuvalu
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tuvalu" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "টুভালীয়" . } UNION { ?e <pred:name> "Nepal" . } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tuvalu
function: FilterStr
dependencies: 0
inputs: demonym
টুভালীয়
function: Find
inputs: Nepal
function: SelectBetween
dependencies: 1
2
inputs: nominal GDP per capita
greater
Answer: Tuvalu