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