Polkadot once overtook Ripple on Coinmarketcap but now the Polkadot coin has been displaced by Ripple.
If we have to compare, then Ripple has very large investors and is hard to beat, except maybe by Ethereum or Bitcoin.
This is my observation of the two coins between Ripple and Polkadot. Correct me if I'm wrong.