I’m currently doing research at my University in Spain, and soon I will leave to do an internship in Germany at a company (one among Facebook, Amazon, Apple, Netflix and Google) on a related topic.
Then, the work I’m currently doing will be carried out by others and published once it is finished, when I will be gone (the internship contract says I cannot work for others while working for them). Of course, since I worked for months on the project I should be one of the authors in the paper, but is this against the internship contract? Can it be considered as competition against the company?