Disclosed in the present application are a
data warehouse creation method and apparatus based on a
knowledge graph, and a
computer device and a storage medium. Specifically, the
data warehouse creation method based on a
knowledge graph disclosed in the present application comprises: creating a
data warehouse fact table layer, wherein the data warehouse
fact table layer comprises a first node, and the first node corresponds to data in an
external database; creating a data warehouse
service layer, wherein the data warehouse
service layer comprises a second node, and the second node corresponds to data obtained after nodes of the data warehouse
fact table layer are aggregated; and creating a
data application layer, wherein the
data application layer comprises a third node, and the third node corresponds to data obtained after nodes of the data warehouse
service layer are aggregated. By means of the method, the present application provides a new solution for creating a data warehouse on the basis of a
knowledge graph, and allows the creation of subject-based aggregated wide tables without extracting
original data into a local
database, thereby enhancing both data sensitivity and the convenience of data warehouse creation operations.