AGRAG: Advanced Graph-based Retrieval-Augmented Generation for LLMs