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