To find entities for SEO optimization, use three tools in order. Google Cloud Natural Language entity analysis lists the entities in your page text. Wikidata shows which of them have a public item. The Google Knowledge Graph Search API shows which of them Google can match. Then you mark the matches up in schema. The steps are below, and the check on my own site comes after them.
If you want the reasoning behind why entities matter for AI search, read Entity Optimization for Brands in AI Search. This post is the tool walk-through for the first step of that work: finding the entities.
What is an entity in SEO?
An entity is a specific thing with an identity: a person, a company, a product, a place or a defined concept. A keyword is a string of words. The keyword “apple” can point to a fruit or to a company, and the entity is what settles which one. Search engines use entities to connect your page to the right thing, and answer engines can use them to tell what a page is about. The comparison between entity work and page-level work is in Entity Engineering vs Page SEO.
How do I find entities for SEO optimization?
Step 1: List the names your page should be about
Read the page and write down every proper noun and every defined concept. Use plain names: the person, the company, the product, the standard. Skip generic words such as “tool” or “website”. A page about schema markup might give you Schema.org, JSON-LD, Google Search and the Rich Results Test. This list is what you compare the tools against.
Step 2: Find the entities in your text with Google Cloud Natural Language
Paste the page text into the Cloud Natural Language analyzeEntities method. Google documents it as a method that inspects text for known entities and returns information about them. You can call it from the command line with gcloud ml language analyze-entities --content="your text", and it runs against a Google Cloud project that you set up first. Source: Google Cloud, Analyzing entities.
Use version 1 of the method. Version 1 returns, for each entity, a name, a type, a salience score from 0 to 1 and a list of mentions. For many entities it also returns metadata with a Knowledge Graph machine ID (mid) and a Wikipedia URL. In the example Google publishes, the top entity has a salience of 0.79 and the next has 0.09. The version 2 reference lists no salience field and does not document the Wikipedia URL or mid. Sources: the version 1 Entity reference and the version 2 Entity reference.
Read the salience column as a ranking. The entity at the top is the one the text is mainly about. If the entity you wanted to be about sits in fifth place, the page does not yet say what you think it says. Compare the output with your Step 1 list. Names on your list that the tool did not return are names the text does not make clear.
Step 3: Look each entity up in Wikidata
Wikidata is a free, collaborative knowledge base. You can search it on the site, or call its wbsearchentities API, which searches items by label and alias and needs no API key. Here is the request I ran on 11/22/2026:
https://www.wikidata.org/w/api.php?action=wbsearchentities&search=Schema.org&language=en&format=json&limit=3 The first result was item Q3475322, labeled “Schema.org”, with the description “project to create, maintain, and promote schemas for structured data on the Internet”. Its URL is http://www.wikidata.org/entity/Q3475322. That URL is a clean sameAs target for a page about Schema.org. Source for the API: Wikidata API help for wbsearchentities.
Read the description before you copy the URL. The second result for the same search was a different item, a vocabulary document, so the top result is not always the one you mean.
If a search returns nothing, try the exact official name and a second spelling first. I searched “Chudi Nnorukam” on 11/22/2026 and the API returned no items. If no item exists, do not rush to create one. Wikidata has a notability policy, and an item that does not meet it can be deleted through a request for deletion. Read Wikidata:Notability and Help:Items first.
Step 4: Check which entities Google can match with the Knowledge Graph Search API
The Google Knowledge Graph Search API lets you find entities in the Google Knowledge Graph. It is read-only, and it needs an API key. A request looks like this, with your own key in place of API_KEY:
https://kgsearch.googleapis.com/v1/entities:search?query=schema.org&key=API_KEY&limit=3&indent=True Each result carries a name and a list of schema.org types. It also carries a resultScore that shows how well it matched your query, and an @id such as kg:/m/0dl567. You can narrow a search with the types parameter, for example Person, and you can look up known IDs with the ids parameter. Source: entities.search reference.
Two cautions from Google. The page says this API is not suitable for a production-critical service. Use it for checks and do not build a dependency on it. It also says Google is migrating the API to Cloud Enterprise Knowledge Graph and that new users should use the new product. Source: Knowledge Graph Search API overview.
Use the result as a rough signal for your list. An entity with a close match is one you can describe with more confidence. An entity with no result is one you should support with a Wikidata item, a clear official site and consistent profiles on other platforms. A missing result means the search found no match, so repeat it with the exact name first.
Step 5: Mark the entities up in schema
Choose one main entity, the one with the highest salience that you also want to own, and two or three supporting ones. A page that tries to be about ten things leaves entity analysis with no clear top result.
Schema.org gives you three properties for the markup. about is the subject matter of the page. mentions is for things the page refers to, whether or not it is mainly about them. Source: schema.org/mentions. sameAs is the URL of a page that unambiguously shows the item’s identity. Examples are a Wikipedia page, a Wikidata entry or an official website. Sources: schema.org/about and schema.org/sameAs.
Put the main entity in about and the supporting ones in mentions. Give each a sameAs URL from Step 3. For a person, and less often an organization, the knowsAbout property lists topics they know about. Source: schema.org/knowsAbout. The deeper walk-through of these fields is in Schema.org for Answer Engines.
What did this look like on my own site?
On 11/22/2026 I fetched the home page and one article page of chudi.dev. I read the JSON-LD in the page source. Both returned HTTP 200. These are the nodes I counted:
| Page | Node | What I counted |
|---|---|---|
| Home page | Person | 13 sameAs links, 22 knowsAbout topics |
| Home page | Organization | 1 sameAs link, 22 knowsAbout topics |
| Home page | WebSite, CollectionPage, CreativeWork | present, no sameAs |
| Article page | Article, FAQPage, BreadcrumbList | present, plus the site-wide Organization, WebSite and Person nodes |
| Home page | Schema Markup Validator | 6 errors, 90 warnings |
| Article page | Schema Markup Validator | 5 errors, 75 warnings |
Source: my own fetch of chudi.dev on 11/22/2026. The count is a snapshot, and it will change when I edit the markup.
Two things stood out. The Organization node has one sameAs link, while the Person node has 13. If one brand should read as one entity, that gap is the first thing I would fix. The Article node carries no about, mentions or sameAs links. The page-level work from Steps 4 and 5 is still open for that post. The validator errors all name one field. The occupationLocation inside the Person’s hasOccupation uses a Place, and the validator expects an AdministrativeArea there. On the article page the same Person appears twice, once with 13 sameAs links and once, as the article author, with 14. The extra link points to a product site. A product is not the same thing as the person.
You can repeat the check on your own site in a few minutes. Fetch a page, search the source for application/ld+json, and count the nodes and links.
How do I know the entity work is done?
Three checks cover it. First, the JSON-LD is in the live page source. Second, the Schema Markup Validator reads it without errors. My own site does not pass this check yet. Third, every sameAs URL loads and points at the same thing you named. Rerun the entity analysis from Step 2 on the final page text, and confirm that the main entity still sits at the top.
To see how a full page scores on entity and citation signals, run the free AEO audit on the URL.
