Knowledge graph: what it is and how it shapes search
Short answer A knowledge graph is a database of things, not words: each person, place or business is an entity with an ID, linked to facts and to other entities. Google's has over 500 billion facts about five billion entities. It feeds knowledge panels and, since 2025, AI Mode answers. You can't edit it, but you can feed it consistent facts.
Want help applying this to your business? Talk it through on a free 30-minute call.
Book a callWhat is a knowledge graph?
It's a database that stores things and how they connect, instead of pages and the words on them. Google launched its Knowledge Graph in 2012 to stop treating a search like "taj mahal" as two words and start knowing it could mean a monument, a musician, a casino or a restaurant. Google's announcement put it in three words:
"things, not strings" (Google blog, May 16, 2012)
Google's graph is huge. In 2020 Google said it held "over 500 billion facts about five billion entities" (Google blog, May 20, 2020). An entity is any one thing the graph can tell apart from everything else: a person, a city, a company, a dental practice.
Other companies build knowledge graphs too, for search, shopping or their own internal data. This page is about Google's, because that's the one that decides what shows up when customers search your name.
How a knowledge graph stores facts
Think of a contact list where every contact also lists who they know and how. Each piece has a name:
| Part | What it is | Example |
|---|---|---|
| Entity (node) | One distinct thing | Marie Curie |
| ID | A permanent label, so two things with the same name never mix | kg:/m/0dl567 (the ID in Google's API documentation for Taylor Swift) |
| Type | What kind of thing it is | Person, Organization, Place |
| Relationship (edge) | How two entities connect | Marie Curie → married to → Pierre Curie |
| Fact | A value attached to an entity | A business's phone number or opening hours |
The relationships are the point. Google's 2012 post used Marie Curie as its example: her husband and children are entities in the graph too, linked to her. Google wrote that it "also models all these inter-relationships." That's how Google can answer a follow-up question it was never asked word for word.
The types follow schema.org, the shared vocabulary search engines use. Google's Knowledge Graph Search API "uses standard schema.org types," such as Person, Place and Organization (Google for Developers). The same vocabulary is what you use in schema markup on your own site, which is why markup is one way to speak the graph's language.
Where Google's Knowledge Graph gets its facts
From many sources, gathered mostly by machines. Google lists them in its 2020 post:
- The open web and open databases. Wikipedia is "a commonly-cited source, but it's not the only one." Google says it draws "from hundreds of sources."
- Licensed data. Paid data feeds for music, sports and TV.
- Vetted partners. Medical providers help write health panels.
- Site owners' code. Structured data, "special coding that content owners can use."
- The subjects themselves. People and companies who claim their panel can suggest changes. Local businesses do it through their Business Profile.
Google also checks facts automatically and admits the checks "aren't perfect." Anyone can report a wrong fact with the Feedback link on a panel (Google blog, 2020).
What a small business owner should take from this: Google cross-checks what many sources say about you. If your website, Business Profile and directory listings all agree, Google has an easier time deciding you're one entity with one set of facts.
Knowledge graph vs knowledge panel
The graph is the database; a knowledge panel is one place Google shows it. Most local businesses see a Business Profile in that spot instead, which you claim and edit yourself. Our guide to the Google knowledge panel for your business covers which one you have and how to claim it.
How to tell if Google knows your business
Search your exact business name, plus the city if the name is common. If a panel with your logo, hours or address appears on the right (or near the top on a phone), Google has matched your name to an entity.
For a closer look, Google offers a free Knowledge Graph Search API that returns matching entities with their IDs. It needs a developer key, and Google warns it "is not suitable for use as a production-critical service" and is being moved to Cloud Enterprise Knowledge Graph (Google for Developers). Most owners don't need it: the search test is enough.
How to get your facts right in the graph
You can't type into Google's graph. You can make the sources it reads agree:
- Keep your Business Profile current. Name, address, phone, hours, categories. Google's AI search guidance tells site owners to check "that your Merchant Center and Business Profile information is up-to-date" (Google Search Central: AI features).
- Use one name, address and phone everywhere. Website, Business Profile, directories and social profiles.
- Add Organization or LocalBusiness markup to your home or About page. Google says it can help "disambiguate your organization in search results." Its `sameAs` field lists your profiles on other sites, such as social media or review sites (Google Search Central: Organization structured data).
- Report wrong facts through the Feedback link on a panel, or edit your Business Profile directly.
Where knowledge graphs are heading
Into AI answers. Google doesn't publish a roadmap, but it has said what its AI search draws on. Announcing AI Mode as a Labs experiment in March 2025, Google wrote that people can:
"tap into fresh, real-time sources like the Knowledge Graph, info about the real world, and shopping data for billions of products." (Google blog, March 5, 2025)
So the facts Google holds about your business don't only fill a panel anymore. They can shape what an AI answer says about you, such as your hours or what you do. The AI Overviews guide covers what that means for a local business.
The good news: nothing new is required. Google says:
"There's also no special schema.org structured data that you need to add." (Google Search Central: AI features and your website)
Anyone selling "knowledge graph optimization" as a separate product is selling the same four steps above.
Example
A bakery with a common name
"Sunrise Bakery" shares its name with a dozen bakeries. The owner's search shows a panel for a different city. She checks her Business Profile address and category, puts LocalBusiness markup with her address on the home page, and fixes two directory listings with an old phone number. Now every source Google reads gives one set of facts for "Sunrise Bakery Denver."
An accountant who moved offices
A two-person firm moves across town. The Business Profile shows the new address, but an AI answer still lists the old one. The firm updates its website footer, markup and three directory listings to match, so no source Google reads still gives the old address.
FAQ
Is the Knowledge Graph the same as Google's search index?
No. The index stores web pages; the Knowledge Graph stores entities and facts about them. Google uses both.
Can I pay Google to add my business to the Knowledge Graph?
No. Google builds it automatically from the sources above. A local business manages its own facts through a free Business Profile.
Does being in the Knowledge Graph improve my rankings?
Google doesn't say it does. What it does is help Google tell you apart from similar names and show correct facts about you.
Does Wikipedia decide what Google says about me?
It's one source among hundreds, per Google. Most small businesses have no Wikipedia page and still have correct facts on Google.
Is there a public knowledge graph I can look at?
Yes. Wikidata is a free, open one anyone can browse or edit. Google's own API documentation points developers to Wikidata's data downloads when they need whole graphs of connected entities.
Different for you?
- You have a knowledge panel, not a Business Profile: claim and edit it with the knowledge panel guide.
- You want to add markup yourself: start with local business schema markup.
- Your listings disagree across sites: clean them up with local citations and directories.
- You want to show up in AI answers: see Google AI Overviews for local businesses, or have the SEO agent keep your facts consistent.