In both cases the rioters sought to overturn the democratic election of a president, and in both cases they did so by storming the legislature. The difference is that the Maidan coup was successful. (Perhaps because of significant US support for it?)