Question: Which one has more GDP (PPP) between North Macedonia and Mali?
Choices:
Cambodia
Socialist Federal Republic of Yugoslavia
Weimar Republic
North Macedonia
Samoa
South Sudan
Mali
Switzerland
Kiribati
Russian Soviet Federative Socialist Republic
Answer: Mali
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "North Macedonia" .  } UNION { ?e <pred:name> "Mali" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: North Macedonia
function: Find
inputs: Mali
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
greater