My understanding is that all cap ships in a given grav well will get experience evenly for every third-party ship killed (by any thing).
This can be pretty devilish if you use it right.
If for example you call down pirates on your opponent and peacefully park your cap ship on the edge of his targeted gravwell - your cap will leech experience for every pirate your opponent kills