A knowledge graph is a way of storing information as a network: the things you care about (people, places, companies, products, ideas) are the points, and the relationships between them are the lines. Instead of a row in a table, each fact is a small statement linking two things.
How a knowledge graph works
Each fact takes the shape subject, relationship, object. A few examples:
- Eiffel Tower — is located in — Paris
- Paris — is the capital of — France
- Gustave Eiffel — designed — Eiffel Tower
Because the facts connect, a system can follow them to answer questions nobody stored directly, such as "Which country is the Eiffel Tower in?". The W3C's RDF standard describes data in exactly this subject–predicate–object form, which is why the term "triple" turns up so often around knowledge graphs. W3C
Many organizations build knowledge graphs of their own, for product catalogs, internal search or recommendations. In SEO, though, the term usually means Google's.
Google's Knowledge Graph
Google introduced its Knowledge Graph on May 16, 2012 under the motto "things, not strings". Its example was the search [taj mahal]: to a keyword-matching engine, that's just two words, but a person knows it could mean the monument, a musician or a casino. The Knowledge Graph lets Google tell those apart. At launch it held more than 500 million objects and 3.5 billion facts. Google
Today Google describes it as a database of billions of facts about people, places and things. The facts come from several kinds of sources:
- Public sources on the web. At launch Google named Freebase, Wikipedia and the CIA World Factbook among them.
- Licensed data, for things such as sports scores, stock prices and weather forecasts.
- Content owners, including people and organizations who have claimed their knowledge panel and suggest changes to it.
Where you see it in Search
The most visible result is the knowledge panel: the box of facts about a person, organization, place or thing that appears for searches about it. The Knowledge Graph also powers quick answers to factual questions, such as "How tall is the Eiffel Tower?".
Behind the scenes, knowing which "thing" a search is about helps Google understand searches by meaning, not just matching words. That idea is often called semantic search.
Getting your brand or name into it
There's no form for adding yourself. Google creates knowledge panels automatically when there's enough information about something on the open web. What you can do is make that information clear and consistent:
- Describe your organization on your own site: who you are, what you do, where you're based, how to contact you.
- Add Organization structured data to your home page. Google says it helps it understand and tell your organization apart from others, and can influence which logo appears in results and in your knowledge panel. Use the
sameAsproperty to point to your official profiles elsewhere. Google Search Central - Keep your name, description and links the same across your profiles and directory listings, so they're easy to match.
- If you already have a knowledge panel, claim it so your feedback is prioritized.
Anyone can report a wrong fact through the Feedback link on a panel or answer. Local businesses work differently: their details come from a Google Business Profile.
Looking up entities yourself
Developers can query Google's Knowledge Graph through the Knowledge Graph Search API, which returns matching entities in JSON-LD using schema.org types. It's a quick way to check whether Google treats a name as an entity. Google is moving the API to its Cloud Enterprise Knowledge Graph product, recommends that for new users, and warns the original API isn't meant for production-critical use. Google for Developers