Question: What were the Black Russian Terrier and the Samoyed dog breeds used for?

Context paragraphs:
Terrier Group: Terrier Group is the name of a breed Group of dogs, used by kennel clubs to classify a defined collection of dog breeds.  In general, a "Terrier Group" includes one particular type of dog, the Terrier, although other types may be included in a kennel club's "Terrier Group".  Most major English-language kennel clubs include a "Terrier Group" although different kennel clubs may not include the same breeds in their "Terrier Group".  The international kennel club association, the Fédération Cynologique Internationale, includes Terriers in Group 3 "Terrier", which is then further broken down into four "Sections" based on the type of terrier and breed history.

Japanese Spitz: The Japanese Spitz (日本スピッツ , Nihon Supittsu ) is a small to medium breed of dog of the Spitz type.  The Japanese Spitz is a companion dog and pet.  There are varying standards around the world as to the ideal size of the breed, but they are always larger than their smaller cousins, the Pomeranian.  They were developed in Japan in the 1920s and 1930s by breeding a number of other Spitz type dog breeds together.  They are recognized by the vast majority of the major kennel clubs, except the American Kennel Club due to it being similar appearance to the white Pomeranian dog, American Eskimo Dog and Samoyed Dog.  While they are a relatively new breed, they are becoming widely popular due to their favorable temperament and other features.

Russkiy Toy: The Russian Toy (also known as the Russian Toy Terrier, and in Russia as the Russkiy Toy, Toychik,Russian: Русский той, Тойчик ) is a very small breed of dog originally bred in Russia from the English Toy Terrier which is known today as the Manchester Terrier.  There are two types of coats in the breed: smooth coat and long coat.  The smooth-coated variety was previously known as the Russian Toy Terrier and long-coated as the Moscow Long Haired Toy Terrier.  Both were brought together under the same Russian Toy Terrier name in 1988 and the "Terrier" was dropped from the name when the breed was added in 2006 to the official list of breeds registered with the Fédération Cynologique Internationale and has been registered in the Foundation Stock Service of the American Kennel Club since 2008, allowed to compete in AKC companion events since 2010.  The first official breed standard of the two varieties was written in 1966 in Russia.

Vulnerable Native Breeds: Vulnerable Native Breeds are a group of dog breeds originating in the United Kingdom and Ireland, and identified by The Kennel Club (KC) as having annual registration numbers of 300 puppies or fewer.  The need for such a list was first identified in June 2003, with research conducted by the KC to identify the extent of the vulnerability and viability of each breed.  It was a joint project, with the KC working with the British and Irish Native Breeds Trust, later to be known simply as the Native Dog Breeds Trust.  The breeds on the list have been promoted at events such as Discover Dogs and Crufts, and by asking that owners of these breeds mate their dogs rather than having them spayed.

Fox Terrier: Fox Terriers are two different breeds of the terrier dog type: the Smooth Fox Terrier and the Wire Fox Terrier.  Both of these breeds originated in the 19th century from a handful of dogs who are descended from earlier varieties of British terriers, and are related to other modern white terrier breeds.  In addition, a number of breeds have diverged from these two main types of fox terrier and have been recognised separately, including the Jack Russell Terrier, Miniature Fox Terrier and Rat Terrier.  The Wire and Smooth Fox Terriers share similar characteristics, the main differences being in the coat and markings.  They have been successful in conformation shows, more prominently in America than their homeland.

Airedale Terrier: The Airedale Terrier (often shortened to "Airedale"), also called Bingley Terrier and Waterside Terrier, is a dog breed of the terrier type that originated in the valley ("dale") of the River Aire, in the West Riding of Yorkshire, England.  It is traditionally called the "King of Terriers" because it is the largest of the terrier breeds.  The Airedale was bred from the Old English Black and Tan Terrier (now extinct), the Bull Terrier, the Otterhound and probably some other Terrier breeds, originally to serve as an all around working farm dog.  In Britain this breed has also been used as a war dog, guide dog and police dog.  In the United States, this breed has been used to hunt big game, upland birds, and water fowl, and serve in many other working capacities.

Moscow Water Dog: The Moscow Water Dog, also known as the Moscow Diver, Moscow Retriever or Moskovsky Vodolaz, is a little-known dog breed derived from the Newfoundland, Caucasian Shepherd Dog and East European Shepherd.  It is now extinct, but was used in the development of the  Black Russian Terrier.  The Moscow Water Dog was produced only by the Red Star Kennels, the state operated organization chartered to provide working dogs for the armed services.

Teddy Roosevelt Terrier: The Teddy Roosevelt Terrier is a small to medium-sized American hunting terrier.  Lower-set with shorter legs, more muscular, and heavier bone density than its cousin the American Rat Terrier.  There is much diversity in the history of the Teddy Roosevelt Terrier breed and it shares a common early history with the American Rat Terrier, Fox Paulistinha and Tenterfield Terrier.  It is said the Rat Terrier background stems from the terriers or other dogs that were brought over by early English and other working class immigrants.  Since the breed was a farm, hunting and utility dog there was little to no planned breeding other than breeding dogs with agreeable traits to each other in order to produce the desired work ethic in the dog.  It is assumed that the Feist (dog), Bull Terrier, Smooth Fox Terrier, Manchester Terrier, Whippet, Italian Greyhound, the now extinct English White Terrier, Turnspit dog and or Wry Legged Terrier all share in the Teddy Roosevelt Terrier's ancestry.  These early Ratting Terriers were then most likely bred to the Beagle or Beagle cross bred dogs (for increased scenting ability) and other dogs.  Maximizing the influences from these various breeds provides the modern Teddy Roosevelt Terrier with a keen sense of awareness and prey drive, an acute sense of smell and a very high intellect.  Although they tend to be aloof with strangers they are devoted companion dogs with a strong desire to please and be near their owners side at all times.

Black Russian Terrier: The Black Russian Terrier (abbreviated as BRT), also known as the Tchiorny Terrier ("tchiorny" being Russian for black) is a breed of dog created in USSR in Red Star (Krasnaya Zvezda) Kennel during the late 1940s and the early 1950s for use as military/working dogs.  At the present time, the Black Russian Terrier is a breed recognized by the FCI (FCI's from September 1983), AKC (AKC's from July 2004), CKC, KC, ANKC, NZKC and other cynological organizations.  The contemporary Black Russian Terrier is a working dog, guarding dog, sporting and companion dog.

Samoyed (dog): The Samoyed ( or ; Russian: Самоедская собака or Самоед ) is a breed of large herding dog, from the spitz group, with a thick, white, double-layer coat.  It takes its name from the Samoyedic peoples of Siberia.  These nomadic reindeer herders bred the fluffy white dogs to help with the herding, and to pull sleds when they moved.  An alternate name for the breed, especially in Europe, is Bjelkier.

Supporting paragraphs: Black Russian Terrier Samoyed (dog)
Answer: working dog, guarding dog, sporting and companion dog.