Complex sentence: They will represent Latvia in the Eurovision Song Contest 2017 with their song "Line", having previously attempted to represent the nation in,,, and.
Split into simpler sentences: They will represent Latvia in the Eurovision Song Contest 2017 with the song "Line". They had previously attempted to represent Latvia in,,,, and.