The ceremony, which featured pageantry, poetry, drama and music, marked the beginning of the seventh session of Holyrood.