Data

What is a knowledge graph?

In short

A knowledge graph is a way of storing information as things and the relationships between them, such as 'Company A supplies Product B to Customer C'. It lets people and AI follow connections that are hard to see in tables or documents.

Google uses a huge knowledge graph to show fact boxes about people, places and companies. In a business, a knowledge graph can link customers, products, contracts, people and issues, so a question like 'which customers are affected if this supplier is late?' can be answered by following the links.

Mini course

3 short lessons, about 2 minutes in total

  1. Things and links
  2. Google's graph and yours
  3. Graphs and AI assistants

Lesson 1

Things and links

A knowledge graph has two building blocks: nodes, which are things such as a customer, a product or a person, and edges, which are relationships, such as 'bought', 'works at' or 'part of'. Each fact is a small sentence: subject, relation, object. Put millions together and you get a map of how everything connects.

Customer
Knowledge graph
Products
A knowledge graph stores things and how they are connected, so both people and AI can follow the links to answer questions

Tap a box to open that concept

The strength is answering questions that need several hops across that map.

Lesson 2

Google's graph and yours

Search engines and AI assistants build huge knowledge graphs about the world. When they understand your company as a clear entity, with a name, address, services and people, they can describe and recommend it more accurately. Structured data on your website and consistent facts across the web feed this.

Inside a company, a smaller graph can connect data that today sits in separate systems.

Lesson 3

Graphs and AI assistants

Standard RAG finds text passages that look similar to the question. That struggles with questions like 'which projects used suppliers that had quality issues last year?'. A knowledge graph can answer by following links, and the AI then writes the answer. This combination is often called GraphRAG.

  1. Customers find youHow customers and AI tools find the companySEOGEOGoogle AI Overviews
  2. AI in daily workTools staff and customers useChatbotAI copilotVoice AI
  3. Building blocksHow AI connects to data and systemsRAG (retrieval-augmented generation)AI agentMCP (Model Context Protocol)
  4. AI modelsThe models that understand and createLarge language model (LLM)Generative AIMachine learning
  5. DataCompany data, gathered and cleanedKnowledge graphData warehouseETLData quality
  6. InfrastructureCloud, networks and systems underneathCloud computingDatabaseAPI key
Trust and rulesSecurity, law and control in every layerGDPR and AIEU AI ActAI guardrails
Where Knowledge graph sits in a company's AI setup

Start small: one area, such as products and their parts, before connecting everything.

An everyday example

When you search for a well-known company on Google, the info box with its founder, headquarters and products comes from Google's knowledge graph.

How companies use it

Companies use knowledge graphs to connect data spread across systems, to give AI assistants reliable facts and relationships (GraphRAG), and to make themselves understandable to search engines through structured data.

Frequently asked questions

How is a knowledge graph different from a database?

A regular database is best at rows in tables. A knowledge graph is best at many-step relationships between different kinds of things.

How does it help AI?

A knowledge graph helps AI by giving it verified facts and links to follow, which reduces made-up answers on questions that span several sources.

How does it relate to SEO?

Structured data on your website helps Google and AI tools add your company, products and people to their knowledge graphs correctly.

In depth: Knowledge graph

The full picture, about 4 minutes of reading

What a knowledge graph is

A knowledge graph stores information as things and the relationships between them. The things might be customers, products, suppliers, people, places or documents. The relationships are the links: this customer bought that product, this product comes from that supplier, this person is responsible for that contract.

Drawn on paper, it looks like a web of dots connected by labeled lines. Each line says something true about the two dots it joins. Put enough of them together and you get a map of how a business, or a field of knowledge, fits together.

Why store information this way

Most business data lives in tables, such as a customer list, an order list and a product list, or in documents. Tables are excellent for counting and summing. Documents are good for explaining. Both are weak at following chains of connections.

Questions like which customers are affected if this supplier is late, or who in the company has worked with this client before, require jumping from one thing to the next, and then the next. In tables that means joining many lists, often by hand. In documents it means reading everything.

A knowledge graph makes those jumps the natural way to ask. Because the links are stored directly, you can follow them in any direction: from supplier to parts, from parts to products, from products to customers. It also makes it easy to add new kinds of connections later without redesigning everything.

How one is built

The first step is deciding what kinds of things and links matter. This plan is often called an ontology, which simply means an agreed list of the types of things and the types of relationships between them. A small company might start with customers, products, orders, people and contracts, and links such as bought, supplied by, responsible for and mentions.

Next, data is brought in from existing systems. Structured data, such as the CRM and the order system, maps fairly directly. Unstructured data, such as emails and documents, is harder. Here AI language models have become useful, because they can read text and pull out the things and relationships it mentions.

Finally, the same thing must be recognized when it appears in different places. The customer called Andersson AB in one system and Anderssons in another must become one dot, not two. This matching step decides much of the graph's quality.

Google's graph and yours

The best-known knowledge graph is Google's. When you search for a well-known company, person or place, the info box at the side or top of the results comes from it. Google collects facts from many sources, links them and shows them as a summary.

For a business, this matters in two ways. First, Google's graph shapes how your company is presented in search and increasingly in AI answers. Clear and consistent information about the company on your website, in structured data, which is code that labels facts like address and opening hours for machines, and in profiles such as Google Business Profile helps Google connect the right facts to the right entity.

Second, the same idea can be used inside a company, on a much smaller scale, to connect its own information.

Graphs and AI assistants

AI assistants are good at reading and writing, but they struggle with questions that need many connected facts at once. Search based on similar meaning finds relevant passages, but it does not know how those passages relate to each other.

Combining a knowledge graph with a language model, an approach sometimes called GraphRAG, helps with this. The graph supplies the connections and the model turns them into a clear answer. A question such as which open orders involve a part from a supplier that just reported delays can be answered by following the links, and the assistant can show the path it followed, which makes the answer easier to check.

The cost is effort. A graph must be built and kept up to date, and for many questions simpler search is enough.

What it means for a small business

Most small businesses do not need to build their own knowledge graph. The everyday value lies in the outside one: making sure Google and AI assistants have a clear, correct picture of who you are, what you do and where. Consistent company details across your website, structured data and the main directories go a long way.

Inside the company, graph thinking is useful even without graph software. Asking what are the important things in our business and how are they connected often reveals information that lives only in someone's head, such as which customer depends on which supplier.

If questions that cross many connections become frequent and costly to answer, it may be worth a closer look. Until then, well-kept systems and clear documents usually serve a small business better.

Curious what this could mean for your company? Book a call.

Book a call