Question: Does Maldives or South Sudan have the higher gross domestic product (PPP)?
Choices:
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Samoa
People's Republic of China
Benin
Cambodia
South Sudan
Switzerland
Weimar Republic
Kiribati
Answer: South Sudan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Maldives" .  } UNION { ?e <pred:name> "South Sudan" .  } ?e <GDP_(PPP)> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Maldives
function: Find
inputs: South Sudan
function: SelectBetween
dependencies: 0
1
inputs: GDP (PPP)
greater