name = 'simpop/3' slug = 'countries with most similar number of residents' description = '''\
simpop(X, Y, Diff)
: X
and Y
are countries with the most similar numbers of
residents. Diff
represents the difference between them.
?- simpop('Fiji', Y, Diff). Y = 'Cyprus', Diff = 20152.
Useful facts are given as country(Name, ID, Capital, CapitalProvince, Size, Population).