Question: Which has fewer people, Socialist Federal Republic of Yugoslavia or South Sudan?
Choices:
Samoa
South Sudan
Kiribati
Benin
Cambodia
Saudi Arabia
Socialist Federal Republic of Yugoslavia
People's Republic of China
Russian Soviet Federative Socialist Republic
Weimar Republic
Program:
function: Find
inputs: Socialist Federal Republic of Yugoslavia
function: Find
inputs: South Sudan
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Socialist Federal Republic of Yugoslavia" .  } UNION { ?e <pred:name> "South Sudan" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: South Sudan