Another comment here referenced the Ise Grand Shrine [0], so that is what I bet the OP is referring to. I pose this, religion isn't only about spiritual beliefs, it encompasses rituals, culture, and history. Knowledge transfer is a major part of continuing a religious culture, whether it be through studying of scripts or preaching. So, just because it is religious based doesn't exclude it from also being about transferring of knowledge.