Question: Which has a larger nominal GDP per capita, Brunei or Angola?
Choices: Socialist Federal Republic of Yugoslavia
Angola
Russian Soviet Federative Socialist Republic
Switzerland
South Sudan
Benin
Kiribati
Weimar Republic
Cambodia
Brunei
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brunei" .  } UNION { ?e <pred:name> "Angola" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Brunei
function: Find
inputs: Angola
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater
Answer: Brunei