when was the hockey team founded?
The team was founded in 1972.
Calgary Flames
The Calgary Flames are a professional ice hockey team based in Calgary. The Flames compete in the National Hockey League (NHL) as a member of the Pacific Division of the Western Conference. The club is the third major professional ice hockey team to represent the city of Calgary, following the Calgary Tigers (1921–1927) and Calgary Cowboys (1975–1977). The Flames are one of two NHL franchises in Alberta; the other is the Edmonton Oilers. The cities' proximity has led to a rivalry known as the "Battle of Alberta".

The team was founded in 1972 in Atlanta as the Atlanta Flames until relocating to Calgary in 1980. 
when did the flames win the stanley cup 1988–89 are they a sports team? Yes - The Calgary Flames are a professional ice hockey team based in Calgary. where is the aforementioned city/state/country located? Calgary is a city in the western Canadian province of Alberta.
wiki:7046918
Calgary Flames [SEP] Introduction
The Flames played their first three seasons in Calgary at the Stampede Corral before moving into their current home arena, the Scotiabank Saddledome (originally known as the Olympic Saddledome), in 1983. In 1985–86, the Flames became the first Calgary team since the 1923–24 Tigers to compete for the Stanley Cup. In 1988–89, the Flames won their first and only championship. The Flames' unexpected run to the 2004 Stanley Cup Finals gave rise to the Red Mile, and in 2011 the team hosted and won the second Heritage Classic outdoor game. The Flames have won two Presidents' Trophies as the NHL's top regular season team, and have claimed seven division championships.