Question: Does Joseon or Turkmenistan have the smaller population size?
Choices:
Weimar Republic
Samoa
Turkmenistan
Switzerland
South Sudan
Benin
Socialist Federal Republic of Yugoslavia
Kiribati
Joseon
Cambodia
Program:
function: Find
inputs: Joseon
function: Find
inputs: Turkmenistan
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joseon" .  } UNION { ?e <pred:name> "Turkmenistan" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Turkmenistan