How to Get a Google Knowledge Graph Entity for Your Brand

Google's Knowledge Graph is its database of known entities such as companies, people and products. This check queries it for your brand name and looks for an entity whose official website points to your domain. By the end you will have confirmed what Google knows, published consistent Organization markup, created or fixed a Wikidata item, and linked these sources so the entity resolves to your site.

By Updated ⏱ 2–3 hours of work, then 2–12 weeks for Google to update🎯 Intermediate● Medium impactGEO / AI
Illustration: Knowledge Graph entity fix guide
GEO / AI · FIX GUIDE Knowledge Graph entity IMPACTEFFORT TIME2–3 hours of work, then 2–12 weeks for Google to update LEVELIntermediate

Why it matters

Search engines and AI assistants use entity databases to decide who a brand is before they quote it. Without a linked entity, Google may not show a knowledge panel. AI answers may also confuse you with a similarly named company, leave you out of comparisons, or attribute your content to someone else.

A Knowledge Graph entity tied to your official URL gives Google, Gemini and AI tools that reuse Google or Wikidata data a reliable anchor for your name, logo, founding facts and social profiles.

✕BeforeKnowledge Graph search for "ExampleCo" returns nothing, or returns an"Example Co" entity with no url or✓AfterKnowledge Graph search returns"Example Co" (Organization,Corporation) with url

What you need

Admin access to your site's theme, CMS or code so you can edit the <head>
A Google Cloud project with the Knowledge Graph Search API enabled, plus an API key
A Wikidata account, plus two or three independent published sources that mention your organization
Access to your official social profiles and, if you serve customers locally, your Google Business Profile

Step-by-step fix

1

Look up what Google's Knowledge Graph returns today

Query the Knowledge Graph Search API with your exact brand name and inspect each result. Three fields matter:

  • result.name is the entity's name.
  • result.@type lists its types.
  • result.url is the entity's official website, and this is the link the audit looks for.

What you see tells you which path to take:

  • No results: you need to create the entity.
  • A matching name with no url, or a different url: you need to connect the existing entity to your site.

Also record the @id value (for example kg:/g/11abc123xy). The part after kg: is your entity ID, often called a kgmid.

text
curl "https://kgsearch.googleapis.com/v1/entities:search?query=Example%20Co&types=Organization&limit=5&indent=True&key=YOUR_API_KEY"
Pro tip: Run the query again with variations such as "Example Co Inc" or "ExampleCo". If one of them matches, your brand name isn't consistent across the web. Settle on a single form and use it everywhere.
2

Fix your brand's canonical name and URL

Choose one official name and one canonical homepage URL, including https and either www or non-www, and use them everywhere. Update these places so they all match exactly:

  • your site's logo alt text, footer and About page
  • the LinkedIn, Facebook, X, Instagram, YouTube and Crunchbase profiles
  • your Google Business Profile

On the About page, state clearly what the organization is, where it is based, when it was founded and who runs it. Google cross-checks these facts across sources.

Pro tip: Make sure every social profile's website field points to the same canonical homepage, for example https://example.com/. Don't point it at a landing page or a link-in-bio service. That is how Google confirms the profile belongs to you.
3

Publish Organization schema with @id and sameAs

Add one Organization JSON-LD block to the homepage, or site-wide. The key properties:

  • url must be your canonical homepage.
  • @id gives the entity a stable identifier.
  • sameAs lists every official profile, plus your Wikidata URL once you have created it in step 4.

If you already have a kgmid, the knowledge panel URL from step 6 can go in sameAs too, but this is optional. Use the most specific type that fits, such as Corporation, LocalBusiness, NewsMediaOrganization or EducationalOrganization. Remove any duplicate Organization blocks that your theme or plugins output.

html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "@id": "https://example.com/#organization",
  "name": "Example Co",
  "alternateName": "Example Company",
  "url": "https://example.com/",
  "logo": "https://example.com/logo.png",
  "description": "Example Co makes accounting software for small veterinary clinics.",
  "foundingDate": "2015",
  "founder": { "@type": "Person", "name": "Jane Doe" },
  "address": { "@type": "PostalAddress", "addressLocality": "Austin", "addressRegion": "TX", "addressCountry": "US" },
  "sameAs": [
    "https://www.wikidata.org/wiki/Q000000000",
    "https://www.linkedin.com/company/example-co",
    "https://www.facebook.com/exampleco",
    "https://x.com/exampleco",
    "https://www.crunchbase.com/organization/example-co"
  ]
}
</script>
Pro tip: Use a square logo of at least 112×112 px, on a crawlable URL that doesn't change. Google can pick it up for the knowledge panel and the search results favicon area.
4

Create or complete the Wikidata item

First search wikidata.org for your brand. If an item already exists, edit it. Only create a new one if there is none.

Wikidata's notability policy requires an item to be described by serious, publicly available references such as news coverage, official registries or industry databases. Items backed only by your own website are often deleted.

Add these statements, each with a reference URL:

  • instance of (P31): for example business (Q4830453)
  • official website (P856)
  • inception (P571)
  • headquarters location (P159) and country (P17)
  • logo image (P154), which must be uploaded to Wikimedia Commons
  • social IDs such as LinkedIn company ID (P4264) and X username (P2002)
  • Google Knowledge Graph ID (P2671), if you found a kgmid in step 1
text
Label (en):        Example Co
Description (en):  American accounting software company
Also known as:     Example Company
P31  instance of            → business (Q4830453)
P856 official website       → https://example.com/
P571 inception              → 2015
P159 headquarters location  → Austin (Q16559)
P17  country                → United States of America (Q30)
P4264 LinkedIn company ID   → example-co
P2671 Google Knowledge Graph ID → /g/11abc123xy
Pro tip: Write in a neutral, factual tone and add a reference to every statement. Promotional wording and unreferenced claims are the main reasons Wikidata items for companies get removed.
5

Earn corroborating third-party mentions

Google builds and links entities from sources it trusts, not from your own markup alone. Get consistent listings that include your exact name and homepage URL. Useful sources include:

  • Crunchbase
  • industry directories and chamber of commerce listings
  • government business registries
  • press coverage
  • a verified Google Business Profile, if you are a local business

If you meet Wikipedia's notability guidelines, a Wikipedia article is the strongest single signal. Don't write it yourself, because Wikipedia's conflict-of-interest rules apply.

Pro tip: Link each new profile back into your sameAs array and, where Wikidata has a matching property, into your Wikidata item. This keeps the three sources pointing at each other.
6

Claim and correct the knowledge panel

Once a knowledge panel appears when you search your brand on Google, scroll to the bottom of the panel and select Claim this knowledge panel. Verify by signing in with the Google account that owns your Search Console property or one of your official profiles.

After verification you can use Suggest edits to correct the website link, logo and description. This directly fixes the case where an entity exists but isn't linked to your site.

text
https://www.google.com/search?kgmid=/g/11abc123xy
Pro tip: Opening that kgmid URL shows the panel for your exact entity, even when a plain brand search shows a different company.
7

Validate the markup and re-check the entity

Test the markup:

1. Run the homepage through the Rich Results Test and validator.schema.org. Confirm there is one Organization entity, with the correct url and sameAs and no errors.

2. In Search Console, use URL Inspection → Request indexing on the homepage.

Then repeat the API query from step 1 every couple of weeks. You are done when a result has your brand name and "url": "https://example.com/". Re-run the audit to confirm it passes.

text
curl -s "https://kgsearch.googleapis.com/v1/entities:search?query=Example%20Co&limit=5&key=YOUR_API_KEY" | grep -E '"name"|"url"|"@id"'
Pro tip: Google usually takes weeks, sometimes months, to show changes in the Knowledge Graph. Don't keep changing your name or schema while you wait.

Platform-specific notes

WordPress

In Yoast SEO, go to Yoast SEO → Settings → Site representation. Set Organization, the name, alternate name and logo, and add your profiles under "Other profiles" to fill sameAs. In Rank Math, use Rank Math SEO → Titles & Meta → Local SEO (Knowledge Graph) and enter the social URLs under Titles & Meta → Social Meta. Don't also hard-code a block in header.php, or you'll output two Organization entities.

Shopify

Many themes already output Organization JSON-LD in theme.liquid or a header section. Search Edit code for "Organization" before adding your own, then either extend that block or replace it. Fill in your social links under Theme settings → Social media. Settings → Brand sets the logo that apps and some themes reuse.

Wix

Fill in Settings → Business info, which feeds Wix's automatic business markup. For a custom Organization block with sameAs, go to the homepage's SEO settings (Pages → ⋯ → SEO basics → Advanced SEO → Structured data markup) and add your JSON-LD there.

Webflow

Go to Site settings → Custom code → Head code and paste the JSON-LD, then publish. To limit it to the homepage, use Page settings → Custom code → Inside <head> tag on the Home page instead.

Next.js

In app/layout.tsx or app/page.tsx, render a <script type="application/ld+json"> with dangerouslySetInnerHTML={{ __html: JSON.stringify(orgSchema) }}. Make sure it is server-rendered so it appears in the initial HTML, and check this with View Source rather than DevTools.

Check that it worked

✅ How to verify

  • The Knowledge Graph Search API returns an entity for your brand whose "url" field matches your canonical homepage.
  • The Rich Results Test or validator.schema.org shows exactly one Organization on the homepage, with the correct url, logo and sameAs including the Wikidata URL.
  • Your Wikidata item shows official website (P856) set to your homepage, with references, and hasn't been flagged for deletion.
  • Searching your brand on Google, or opening google.com/search?kgmid=YOUR_ID, shows a knowledge panel linking to your site.

⚠️ Common mistakes

  • Using one URL in schema (for example http://www.example.com) and a different one on Wikidata and social profiles (https://example.com/), so Google can't connect the entity to your domain.
  • Creating a promotional, unreferenced Wikidata item that gets deleted, or creating a duplicate when an item for your brand already exists.
  • Outputting several conflicting Organization blocks from the theme, an SEO plugin and custom code, each with a different name or logo.
  • Listing inactive, unofficial or unrelated profiles in sameAs, or linking to a Wikipedia article about a different entity with the same name.

Is this still an issue on your site? Run a free audit — ZORO checks this and 294 other SEO, AI-visibility, accessibility and security signals, with fixes for your platform.

Check my site free

FAQ

How long does it take to get into Google's Knowledge Graph?

There's no fixed timeline. If an entity already exists and you only need to fix its link, expect a few weeks after your schema, Wikidata and profile fixes have been crawled. Creating a new entity can take several months and depends on how much independent coverage Google finds.

Do I need a Wikipedia page to get a knowledge panel?

No. Many organizations have knowledge panels without Wikipedia, based on Wikidata, a Google Business Profile, official profiles and other trusted sources. Wikipedia is a strong signal if you genuinely meet its notability rules, but don't create one yourself.

What is a kgmid and where do I find it?

A kgmid is Google's unique ID for an entity, such as /g/11abc123xy or /m/0abc12. You'll find it as the @id value in a Knowledge Graph Search API result, or in the kgmid= parameter of the URL when you open a knowledge panel's share link.

Why does Google show a knowledge panel for my name that links to another company?

Google has matched your name to a different entity. Add a precise description, location and founding date in your schema and on Wikidata. Make sure your official website (P856) and sameAs links point only to your own properties. Once your own entity exists, claim it and use Suggest edits to correct any details.