Complex sentence: Minaj began writing the verse in New York and Knowles stopped by the studio and was encouraging Minaj, Knowles later revealed to Minaj that she would release the song sometime during her On The Run tour.
Split into simpler sentences: Minaj began writing the verse in New York and Beyoncé visited her in the studio, encouraging her. Beyoncé later revealed to Minaj that she would release the song sometime during her On The Run Tour.