relativistic dictionary

Could you set up a dictionary to find analogies between general relativity, electrodynamics and classical gravity, starting from the respective sources \(T_{\mu\nu}\), \(\jmath_\mu\) and \(\rho\)? In particular, what would be the corresponding quantities to the Ricci-tensor? Is there a requirement on the number of dimensions for all quantities to be sensible?