public void storeRDFinRepository(Object session, MGraph annotatedGraph) {
List<NonLiteral> rootObjects = RDFBridgeHelper.getRootObjectsOfGraph(annotatedGraph);
for (NonLiteral root : rootObjects) {
String documentName = getObjectName(root, annotatedGraph);
String documentPath = getObjectPath(root, documentName, annotatedGraph);
Folder rootFolder = checkCreateParentFolders(documentPath, (Session) session);
if (rootFolder != null) {
createObject(rootFolder, root, null, documentName, annotatedGraph, (Session) session);
} else {
log.warn("Failed to get Folder for path: {}", documentPath);
}