Complex sentence: It represents the Republic of Ireland in the Olympic Games, but in other competitions it represents the entire island of Ireland, including Northern Ireland.
Split into simpler sentences: It represents the Republic of Ireland in some competitions, such as the Olympic Games. In other competitions it represents the entire island of Ireland, including Northern Ireland.