Question: Tell me the one with the bigger nominal GDP per capital, Norway or Angola.
Choices:
Socialist Federal Republic of Yugoslavia
Russian Soviet Federative Socialist Republic
Samoa
Benin
Kiribati
Switzerland
Norway
Weimar Republic
Cambodia
Angola
Program:
function: Find
inputs: Angola
function: Find
inputs: Norway
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Angola" .  } UNION { ?e <pred:name> "Norway" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Norway