A knowledge graph is a set of entities connected by [[ontology|ontological]] relationships. The purpose of a knowledge graph is to be able to query the graph for inferences about the data, particularly those that are not explicitly stated in the data.