Sub topic 1
What an entity is and why models work with entities
Prerequisites
This chapter assumes you know the following:
- How search engines and websites work at a basic level: crawling, indexing, ranking, and what a URL is.
- What large language models (LLMs) and AI assistants do: they take a prompt and produce text.
- How to read simple HTML and JSON. You do not need to write either from scratch.
You do not need any background in knowledge graphs or schema.org. This chapter introduces both ideas.
What an entity is
An entity is a distinct, identifiable thing that can be named and described: a company, a person, a product, a place, a concept, or an event. "Example Analytics" is an entity. So are "Paris", "Python", and "the 2012 London Olympics".
Two properties make something an entity rather than just a word:
- It has an identity that persists across mentions. Different sentences, pages, and languages can all refer to the same thing.
- It has attributes and relationships. A company has a founder, a headquarters, a product category, and competitors. Those facts attach to the entity, not to any one spelling of its name.
A keyword is a string of characters that someone types or that appears on a page. An entity is the real-world thing the string points to. The mapping between the two is many-to-many:
- Several strings can point to one entity. "Example Analytics", "ExampleAI", and "EA Inc." might all mean the same company.
- One string can point to several entities. "Mercury" can mean a planet, a chemical element, a car brand, or a band.
This many-to-many mapping is the core reason entities matter for AI visibility. Matching strings is easy. Deciding which thing a string refers to is the hard part, and it is the part your brand can influence.
Keywords versus entities
The two approaches answer different questions.
| Aspect | Keyword approach | Entity approach |
|---|---|---|
| Unit of work | A string or phrase | A thing with an identity |
| Core question | Does this page contain these words? | Which thing is this page about? |
| Handles synonyms | Only if you list them | Yes, if variants resolve to one entity |
| Handles ambiguity | Poorly | Through context and disambiguation |
| Evidence used | Term frequency, anchor text, links | Facts, relationships, and agreement across sources |
Search engines moved from the first column toward the second over many years. Google's Knowledge Graph launched in 2012 under the slogan "things, not strings". Modern AI systems continue that direction, but they reach it by a different technical route.
Why language models work with entities
An LLM does not look up rows in a database of entities. It is a neural network trained to predict text. Still, entity-like structure shows up in its behaviour for practical reasons.
- Language is about things. Most useful text names people, organisations, products and places, and says something about them. To predict that text well, a model must learn which names go together and which facts hold for which thing.
- Names are compressed into tokens. The model sees text as tokens, which are small chunks of characters. A brand name may span several tokens. Through training, the model learns that a particular sequence of tokens behaves like one referent. It learns this from the contexts where the name appears.
- Associations form from repeated context. If a name keeps appearing near words like "analytics", "dashboards" and "reporting", the model associates that name with that category. Later chapters call this co-occurrence.
- Disambiguation comes from context. The model separates "Mercury the planet" from "Mercury the insurer" by the surrounding words. If your brand name is ambiguous and your context is weak, the model may blend or confuse the two.
This is a working model, not a claim about how any specific system is built. Model internals are not public for most commercial assistants, and different products combine models with search, ranking and filtering in different ways. Treat "entity" as a useful lens for predicting behaviour, not as a documented feature you can switch on.
Where entities appear in AI search products
Beyond the model itself, many systems around it use explicit entity machinery:
- Knowledge graphs. A knowledge graph is a database of entities and the relationships between them, stored as nodes and edges. Public examples include Wikidata and the graphs maintained by large search providers.
- Entity linking. This is a processing step that finds names in text and links each one to a specific entry in a knowledge base, using context to choose between candidates.
- Retrieval systems. When an assistant searches the web before answering, the query and the retrieved pages are both interpreted in terms of the things they mention.
You can think of the whole pipeline as having two layers: a statistical layer (the model's learned associations) and a structured layer (graphs, identifiers, markup). Good entity signals feed both.
Worked example: one brand, many strings
Suppose a company is called Example Analytics. Across the web, its name appears in these forms:
- "Example Analytics" on its own website.
- "ExampleAI" in a developer community and in casual reviews.
- "Example Analytics, Inc." in legal filings.
- "EA" in internal documents that leak into public repositories.
A keyword tool treats these as four separate strings. An entity-aware system treats them as one organisation, but only if the evidence ties them together. That evidence can include:
- The same domain linked from each profile.
- A shared description, such as "business intelligence software".
- Structured data on the company site that lists the alternate names and the official profiles.
- Third-party pages that use the names interchangeably.
If the evidence is thin, the system may split the company into two or more unconnected entities. Then an AI answer that knows "ExampleAI" from forum posts may not connect it to the product described on the official site.
Now consider the opposite problem. A different business, "Example Analytics Ltd", sells market research in another country. If the two companies share a name and thin context, a model may mix their facts. The answer might attribute the other company's pricing or location to yours.
Entity signals you can influence
An entity signal is any observable evidence that helps a system identify an entity and learn true facts about it. The rest of this tutorial covers each signal in depth. At this stage, you need only the map.
| Signal | What it provides |
|---|---|
| Consistent naming | A stable string that systems can match across sources |
| Structured data with `sameAs` | An explicit statement that several profiles are one entity |
| Knowledge graph and public records | A shared identifier others can reference |
| Unlinked brand mentions | Evidence that people talk about the entity, with or without a hyperlink |
| Co-occurrence | Association between the entity and a topic or category |
| Third-party corroboration | Independent sources agreeing on the same facts |
Notice that some of these are things you control, such as naming and markup. Others depend on what other people publish. A realistic plan needs both.
{
"@context": "https://schema.org",
"@type": "Organization",
"@id": "https://www.example.com/#organization",
"name": "Example Analytics",
"alternateName": "ExampleAI",
"url": "https://www.example.com/",
"sameAs": [
"https://www.linkedin.com/company/example-analytics"
]
}This short JSON-LD snippet previews the markup covered later. The @id gives the entity a stable identifier. The alternateName and sameAs fields tie the name variants and outside profiles to that one identifier.
Common errors in thinking about entities
- "An entity is a keyword with a nicer name." It is not. A keyword is a string. An entity is the thing, and many strings can point to it.
- "If I add schema markup, AI models will know my brand." Markup is one input among many. It can help systems that read it, but nothing guarantees that a given model or assistant uses it.
- "Entities work the same way in every AI product." Products differ. Some rely mostly on model memory, some on live retrieval, and some on both. Each can treat the same brand differently.
- "A strong entity guarantees mentions." Being recognised and being recommended are different things. An assistant can know your brand well and still not name it for a given prompt.
- "Ambiguity is only a problem for brands with common words in the name." Even a unique name can be confused if few sources describe it, because the model has little context to anchor it.
How this chapter connects to the rest
The entity idea sets up the rest of the plan:
- To understand where an entity's facts come from, you next look at model memory versus retrieval.
- Mentions, links, co-occurrence and third-party sources are the raw material that builds an entity's footprint.
- Naming, knowledge graphs and structured data are the tools for making that footprint clear and consistent.
- Measurement tells you whether any of it changed the answers.
Check your understanding
Exercise
A keyword tool reports that "ExampleAI" and "Example Analytics" are unrelated search terms with separate volumes. Explain, in entity terms, why this can be misleading, and name two pieces of evidence that would help a system treat them as one entity.
Show answer
In entity terms, both strings may refer to the same organisation, so the keyword tool is counting one thing twice under different spellings. The mapping from strings to entities is many-to-one here. Evidence that links them includes structured data on the official site that lists "ExampleAI" as an alternateName and links the official profiles with sameAs, and third-party pages (reviews, press, directories) that use both names for the same company on the same domain.
Exercise
Your brand name is also the name of an unrelated company in another industry. Describe one risk this creates in AI answers and one action that reduces it.
Show answer
The risk is that a model or retrieval system blends the two entities, so an answer attributes the other company's products, location or pricing to your brand, or leaves your brand out because the name is ambiguous. An action that reduces it is to use consistent, disambiguating context everywhere: pair the name with your category and domain in profiles and press, and publish Organization markup with a stable @id and sameAs links to your official profiles.
Exercise
A colleague says, "We added Organization schema, so AI assistants now know our brand." Give two reasons this claim is too strong.
Show answer
First, markup is only one signal, and not every AI product reads it; some answer mainly from model memory that was fixed at training time. Second, being recognised is not the same as being mentioned in answers, and vendors do not publish how they weigh signals, so the effect has to be measured rather than assumed.