🚀 daydream acquires Positional (YC S21)

Understanding The Google Knowledge Graph And How It Works

Discover how Google Knowledge Graph enhances search results by connecting facts, people, and places to provide more relevant, accurate, and detailed information.

October 17, 2024
Written by
Matt Lenhard
Reviewed by

Join 2,500+ SEO and marketing professionals staying up-to-date with Positional's weekly newsletter.

* indicates required

What Is Google Knowledge Graph?

Google Knowledge Graph is a knowledge base used by Google to enhance its search engine's capabilities. Launched in 2012, the Knowledge Graph taps into the collective intelligence of structured datasets to offer information about people, places, and things in a semantically aware manner. Its purpose is to improve Google's search results by understanding the relationships and context behind the terms that users search for, leading to more accurate and valuable results.

Whenever you search for a popular topic, you might notice a boxed area to the right of the search results with key information about your query. This is the Google's Knowledge Panel, a product of the Knowledge Graph. It delivers immediate access to relevant facts and enhanced visual content about your query, sourced from a variety of credible references, including Wikipedia and other trusted online sources.

How the Knowledge Graph Works

The engine behind the Knowledge Graph is not just traditional keyword-based results; it understands topics and entities as real-world concepts that exist in relation to one another. While it started with around 500 million objects and 3.5 billion facts upon its launch, the Knowledge Graph has now grown exponentially. These data sets enable the search engine to "understand" not just the words that are typed in, but the real meaning behind them.

Knowledge Graph vs. Traditional Search

Before Knowledge Graph, Google used a keyword-centric model for search, focusing primarily on pairing user queries with websites that addressed the keywords specified. The Knowledge Graph introduced a crucial distinction: it organizes information about "things" rather than just "strings." In this context, "things" might refer to people, books, landmarks, companies, cities, or any object or concept with real-world meaning.

For example, a search for "Barack Obama" now results in a wealth of structured information about the person himself (date of birth, spouse, presidency term) rather than a typical list of websites mentioning him. Here’s how the Knowledge Graph adds context:

  • Instead of showing websites that just contain the name "Barack Obama," the Knowledge Graph understands that Barack Obama is a "real person," so it gives context to the entity.
  • The Knowledge Graph can list related facts, such as "Michelle Obama" being his spouse or "United States" as the country he governed as president.
  • It eliminates ambiguity by differentiating between people or objects with similar names, thanks to contextual relationships.

Sources of Data for the Knowledge Graph

The Knowledge Graph doesn't come from one centralized repository of knowledge. So, how does Google source this wide variety of information? The data is drawn from numerous trusted and authoritative sources. Some of these sources are:

Source Type Examples
Public Sources Wikidata, Wikipedia, Freebase
Authoritative Websites Government or Educational Institutions such as NASA
Licensing Agreements Data partnerships with companies like IMDb or World Bank

This blend of public data, reliable websites, and licensed databases ensures that the Knowledge Graph offers accurate and trustworthy information across a wide span of topics.

The Role of Entities and Relationships

One of the major strengths of the Google Knowledge Graph lies in its ability to understand connections between entities. Entities are the building blocks of the Knowledge Graph, and their interactions form the core structure.

Entities are real-world objects or concepts that can be described singularly and have relationships with other entities. Consider this scenario:

  • An entity like "New York City" is tagged as a "city."
  • Another entity, “Statue of Liberty,” is classified as a "landmark."
  • The Knowledge Graph connects these two entities by knowing that the Statue of Liberty is located in New York City.

This entity-relationship mapping not only displays factual information, but also helps Google prioritize more relevant results by evaluating how entities interconnect. By focusing on the connections between various nodes of information, Google can present search results that are not only more useful but also highly specific.

How Does the Knowledge Graph Benefit Searchers?

The introduction of the Knowledge Graph has brought significant advantages to search engine users. Here are some of the primary benefits:

1. Faster Access to Information

Previously, users had to browse through multiple websites to gather basic information. With the introduction of the Knowledge Graph, factual data is presented directly on the search results page. For example, a search for "Who is the CEO of Google?" will present the answer—"Sundar Pichai"—immediately, without requiring users to visit a separate page.

2. Better Disambiguation

The Knowledge Graph helps prevent confusion over common words. For instance, when searching for "Apple," the search engine can determine if you're asking about the tech company or the fruit, based on additional keywords or your search history.

3. Enhanced Learning Through Connections

The Knowledge Graph places search results in a larger context. For example, if you search for Leonardo da Vinci, you not only receive key facts about his life, but you are also introduced to related topics such as the Renaissance period or other famous works from the era. This interconnected system helps users discover and explore new information with ease.

Creating a Rich Semantic Understanding

The Knowledge Graph is at the heart of a move towards semantic search. Rather than being a simple link aggregator, Google is transforming its search results to more closely resemble an "answer engine." By associating entities with other relevant entities, the search results become a mechanism for discovering content that isn’t limited to static keyword pairing.

This semantic approach allows for more nuanced searches, which can benefit users globally. Here are a few examples of semantic searches that the Knowledge Graph enhances:

  • Complex questions like: "Who was the President of the United States during the Civil War?"
  • Context-specific questions: "What movies were directed by Christopher Nolan?"
  • Global relevance searches: The search engine can localize information, e.g., finding the current population of a country or the GDP growth of a particular nation.

These types of searches are more intelligent and reflective of how humans expect information to be related, thus offering a smoother and richer search experience.

Is the Knowledge Graph Always Accurate?

For all its advantages, the Knowledge Graph isn’t infallible. Because data is pulled from a variety of sources, discrepancies or outdated information can occasionally appear. While Google continually updates its algorithms and data sources to mitigate inconsistencies, inaccuracies can creep in from time to time, particularly with volatile or rapidly changing information. It's essential for users to cross-reference information when accuracy is critical.

One key area of concern is information derived from user-edited sources like Wikipedia, which can sometimes present incorrect or biased data. Additionally, Google's reliance on external licensing agreements means that data gaps can occur when partnerships end or new topics emerge too quickly for immediate indexing. However, Google works quickly to identify and correct any errors, often being transparent about the origins of information that appears in the Knowledge Panel.

The Future of Search and Knowledge Graph

Google’s Knowledge Graph represents an important step towards developing smarter, more intuitive search engines. As artificial intelligence and machine learning algorithms become more sophisticated, we can expect future improvements in real-time understanding of user queries.

Some probable future developments include:

  • Greater integration with voice assistants like Google Assistant, where voice queries derive factual answers from the Knowledge Graph’s data set.
  • Enhanced personalization, where your search history, location, and other factors help tailor search results more specifically to your preferences.
  • Further improvements in conversational AI, enabling the Knowledge Graph to provide more in-depth answers and continue a "conversation" with the user.
  • Combining real-time data sources, such as up-to-the-minute stock information, new discoveries in science or updates on world events, into the Knowledge Graph.

Since its inception, the Knowledge Graph has proven to be a valuable addition to Google Search, shaping not just the way we search, but how we understand and relate to information online.

Matt Lenhard
Co-founder & CTO of Positional

Matt Lenhard is the Co-founder & CTO of Positional. Matt is a serial entrepreneur and a full-stack developer. He's built companies in both B2C and B2B and used content marketing and SEO as a primary customer acquisition channel. Matt is a two-time Y Combinator alum having participated in the W16 and S21 batches.

Read More

Looking to learn more? The below posts may be helpful for you to learn more about content marketing & SEO.