Knowledge graph for RAG

I am working on ingesting documents which have textual information into a knowledge graph on stardog. What is the best possible way? I also read about the BITES pipeline but im not aware of how and where to start.