In recent years, the rapid development of machine learning technology has provided opportunities for the automatic access structure selection of knowledge graph data. Considering that machine learning is suitable to describe the complex patterns and solve the complex optimization problems, this paper adopts machine learning techniques to predict the performance of knowledge graph storage structures, tune the storage structure of a knowledge graph, and select the index configurations for a knowledge graph automatically.