Knowledge Graph
What is Knowledge Graph?
A knowledge graph is a network of real-world entities, such as people, products and organizations, connected by named relationships and organized by a shared model, so information can be linked, queried and reasoned over.
Updated November 2026 · 2 min read
A knowledge graph stores information as things and the named links between them, for example a supplier that serves a plant that makes a product, rather than as rows in separate tables. The things can be people, products, organizations or places, and a shared model sets out what kinds of things exist and how they can relate. Because knowledge is stored as connections, a knowledge graph can answer questions that require following links, such as "which suppliers serve the plants that make this product?", and it gives people and AI systems a consistent picture of how things fit together.
The term became widely known in 2012, when Google introduced its Knowledge Graph to power the information panels that appear alongside search results, summarizing it as "things, not strings." The underlying ideas are older, going back to semantic networks in AI research and to the semantic web standards, such as RDF and OWL, published by the World Wide Web Consortium in the late 1990s and 2000s.
What is a knowledge graph made of?
- Entities (nodes): the things, such as "Acme Corp," "Project Atlas" or "Jane Smith."
- Relationships (edges): named links, such as "Jane Smith leads Project Atlas."
- Properties: attributes of entities and relationships, such as a start date or budget.
- Schema or ontology: the rules for what kinds of entities and relationships exist. See ontology.
RDF vs. property graphs
| RDF graphs | Property graphs | |
|---|---|---|
| Data model | Subject-predicate-object triples | Nodes and edges with properties |
| Query language | SPARQL | Cypher or GQL |
| Strength | Formal semantics, reasoning, data sharing across organizations | Developer-friendly, fast traversal |
| Common in | Life sciences, government, publishing | Enterprise applications, fraud, recommendations |
Property graphs store properties directly on nodes and edges and are queried with languages such as Cypher or GQL, the graph query language standardized by ISO in 2024. A knowledge graph is the model and the connected data. A graph database is one technology for storing and querying it.
What are knowledge graphs used for?
- Search and recommendations: understanding what users are looking for and what relates to it.
- Fraud detection: spotting rings of linked accounts, devices and addresses.
- Life sciences: linking genes, proteins, compounds and diseases.
- Enterprise data integration: connecting data from many systems. See enterprise knowledge graph.
- Grounding AI: giving models connected, verifiable facts. See GraphRAG.
An example
Consider a hypothetical bank that suspects organized fraud in new account openings. In its relational database, the accounts look unrelated. Loaded into a knowledge graph linking accounts to phone numbers, devices, addresses and employers, a cluster appears: 140 accounts opened over six months share 12 devices and five phone numbers. Following those links takes seconds in the graph, while the equivalent database query would need many joins and would have to be written in advance.
Common pitfalls
- Building the graph before agreeing on the ontology.
- Duplicate entities from different sources. See entity resolution.
- No ownership for keeping the graph current.
Frequently asked questions
What is the difference between a knowledge graph and a graph database?
A knowledge graph is the model plus the connected data: entities, named relationships and the ontology that defines them. A graph database is one technology for storing and querying that data. Choosing the database is a technical decision, while designing the knowledge graph is mostly about agreeing what the entities and relationships mean.
What is the difference between RDF and property graph knowledge graphs?
RDF graphs store subject-predicate-object triples, are queried with SPARQL and offer formal semantics and reasoning, which suits data sharing across organizations in fields such as life sciences, government and publishing. Property graphs store properties directly on nodes and edges, are queried with Cypher or GQL and are favored for fast, developer-friendly traversal in enterprise applications.
How did Google popularize the knowledge graph?
Google introduced its Knowledge Graph in 2012 to power the information panels shown alongside search results, summarizing the idea as things, not strings. That made the term widely known, although the ideas are older, rooted in semantic networks from AI research and in the RDF and OWL semantic web standards published by the World Wide Web Consortium.
Related terms
Ontology
A formal model of a domain's concepts and how they relate.
Graph Database
A database built to store and query connected data as nodes and edges.
Enterprise Knowledge Graph
A connected model of a company's strategy, people, work, systems and money.
GraphRAG
Retrieval-augmented generation that uses a knowledge graph for context.