Answer:
The socialist movement in Europe came first, and its ideas are competent with those of the Knights of the Labor.
Step-by-step explanation:
American Federation of Labor (AFL) was founded in 1886. The Knights of Labor were founded in 1869. The socialist movement in Europe has its roots in French Revolution (1789.), but the starting year of it is usually taken 1848, a year when Karl Marx and Friedrich Engels wrote The Communist Manifesto and the time of the Revolutions that were active in Europe that spring.
Therefore, we can conclude that the socialist movement in Europe was the one who came first.
The socialist movement is an economic, political, and philosophical idea that encourages social systems and organizations, as well as social ownership of the means of production. Its idea is to try to ensure the best possible living conditions for everyone, especially the public and workers. The Knights of labor were the first major labor organization that tried to organized all the workers (skilled and unskilled). The idea was for all workers to have the best possible working conditions, better wages, and eight-hour shifts.
We can conclude that the relationship between the two is tight, as The Knights of Labor had, at its core, the ideas that could be taken as socialist. Both movements had the best interest of workers in mind, and they both served the public.