Language and graph foundational models: Distillation and Pretraining