A graph-structured representation of entities and their semantic relationships.
A knowledge graph is a structured data representation in which nodes correspond to real-world entities—people, places, organizations, concepts, events—and edges encode the typed relationships between them. Unlike flat databases or simple key-value stores, this graph topology captures the rich, interconnected nature of knowledge, allowing systems to traverse relationships, infer implicit connections, and answer complex queries that span multiple entity types. The result is a machine-readable semantic network that mirrors how humans naturally organize understanding of the world.
In practice, knowledge graphs are typically built on standards like RDF (Resource Description Framework) and queried using languages such as SPARQL. Entities and relationships are often assigned formal definitions through ontologies, which specify the rules and hierarchies governing how concepts relate. This formal grounding enables logical inference: a system can deduce that if entity A is a parent of B, and B is a parent of C, then A is a grandparent of C—without that fact being explicitly stored. Large-scale knowledge graphs such as Google's Knowledge Graph, Wikidata, and DBpedia contain billions of such triples, forming vast repositories of structured world knowledge.
Knowledge graphs became central to modern AI after Google publicly introduced its Knowledge Graph in 2012 to enrich search results with contextual, semantically organized information. Since then, they have become foundational infrastructure across many AI applications. In natural language processing, they ground language models with factual knowledge and support tasks like entity linking and question answering. In recommendation systems, they model user preferences and item attributes as interconnected entities, enabling more nuanced suggestions. In enterprise settings, they integrate heterogeneous data sources—databases, documents, APIs—into a unified semantic layer that supports both human exploration and automated reasoning.
The significance of knowledge graphs lies in their ability to make data interpretable to machines in a contextually meaningful way. Rather than treating information as isolated records, they situate every fact within a web of relationships, enabling AI systems to reason about context, resolve ambiguity, and surface non-obvious insights. As large language models increasingly rely on external knowledge sources for grounding and factual accuracy, knowledge graphs are experiencing renewed interest as complementary structures that provide structured, verifiable, and updatable world knowledge.