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