Question: Which one has less ostensible GDP per capita, Majority rule Republic of the Congo or Holy person Lucia
Choices:
Saint Lucia
South Sudan
Kiribati
Democratic Republic of the Congo
Russian Soviet Federative Socialist Republic
Socialist Federal Republic of Yugoslavia
Switzerland
Weimar Republic
Benin
Cambodia
Program:
function: Find
inputs: Democratic Republic of the Congo
function: Find
inputs: Saint Lucia
function: SelectBetween
dependencies: 0
1
inputs: nominal GDP per capita
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Democratic Republic of the Congo" .  } UNION { ?e <pred:name> "Saint Lucia" .  } ?e <nominal_GDP_per_capita> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Democratic Republic of the Congo