Part of the AI visibility glossary

What is Knowledge graph?

A knowledge graph is a store of facts organised as entities, such as people, places, organisations and products, and the relationships between them. A system that uses one can tell which real-world thing a query means instead of only matching its words. Google introduced its Knowledge Graph in Search in 2012 for that purpose.

Also called: Knowledge Graph, Entity graph, Knowledge base

How a knowledge graph is structured

Each entity is a node, and each fact is a link from that node to a value or to another entity. Wikidata, a public knowledge base, shows the pattern plainly. Each item has a label, a description and aliases, and is identified by a Q followed by a number, such as Douglas Adams (Q42). Statements about an item pair a property with a value, and a property that links an item to an outside database is called an identifier.

Because facts are linked rather than written as prose, a graph can answer questions about relationships, such as who founded a company or which brand belongs to which parent.

Google’s Knowledge Graph

At launch in 2012, Google said its graph held more than 500 million objects and more than 3.5 billion facts about and relationships between them. Knowledge panels, the information boxes shown when someone searches for an entity in the Knowledge Graph, are its most visible output.

Developers can look up entities through the Knowledge Graph Search API, which returns individual matching entities using schema.org types. Google is migrating that API to its Cloud Enterprise Knowledge Graph product.

Knowledge graphs and AI answers

A language model learns patterns from text, while a knowledge graph holds explicit facts with identifiers. They are different tools, and this page makes no claim about how any one AI engine combines them. For a brand the practical point is the same for both: publish one consistent set of facts on your own site, in your markup and in the public profiles that describe you, so that whichever source a system reads, it finds the same answer.

How to check it yourself

  1. Search for your brand name and see whether a knowledge panel appears; if it does, note each fact it shows.
  2. Search a public knowledge base for your company name and check whether an item exists and whether its statements are correct.
  3. If you have a developer key, query the Knowledge Graph Search API for your brand name and read the entity type and description it returns.
  4. Compare those facts with your home page, your about page and your organization markup, and fix any difference on your own pages first.
  5. If you officially represent the entity shown in a panel, use the claim process to suggest corrections.

How this page was made

AI agents drafted this entry from the public sources listed below, and automated checks ran on it before it was published. Read our editorial policy.

Questions

Is “Knowledge Graph” a product or a general idea?

Both. A knowledge graph is any store of entities and relationships. Written with capitals, the name usually refers to one search engine’s own graph, described above.

Can I edit a knowledge graph directly?

Public knowledge bases accept edits under their own rules. A search engine’s own graph cannot be edited directly, but the subject of a knowledge panel can claim it and suggest changes, as covered above.

Does a knowledge graph replace structured data?

No. Structured data is markup you publish on your own pages. A knowledge graph is where a system stores what it knows about entities, and your markup is one input among many.

Sources

  1. Introducing the Knowledge Graph: things, not strings · Google
  2. Introducing the Knowledge Graph: things, not strings · Google
  3. Wikidata:Introduction · Wikidata
  4. Wikidata:Introduction · Wikidata
  5. About knowledge panels · Google Knowledge Panel Help
  6. Google Knowledge Graph Search API · Google for Developers
  7. Google Knowledge Graph Search API · Google for Developers

See how AI answers describe your brand

Start your trial to follow how AI assistants mention your brand and your competitors.

Start your trial