On the intersection ring of compact three manifolds