Technical SEO · 4 min read · Answerwell
Schema markup and entities: a practical guide
How to plan schema markup around entities: choosing Organization, Service and Product types, linking them with @id and sameAs, and validating the result.
Key takeaways
- An entity is a uniquely identifiable thing, such as your company, a product, a person or a location. Search engines and AI assistants organize facts around entities, not pages.
- Plan schema markup as a connected graph: give each entity a stable
@idand reference it, instead of repeating partial descriptions on every page. - Markup must describe what visitors can see on the page. Google’s structured data guidelines treat hidden or misleading markup as spam.
- Rich results are optional extras. Some types, such as FAQ and HowTo, were sharply limited by Google in 2023, but valid markup still helps machines understand the page.
What an entity is, and why it matters
An entity is a thing that can be identified unambiguously: Answerwell the company, a specific product model, a named branch office. Search engines maintain knowledge graphs of entities and their relationships, and AI assistants rely on similar associations when they describe a brand.
When your website, business listings and third-party profiles describe the same entity in the same way, systems can connect them with confidence. When the name, address or description differs from place to place, they may split one company into several entities or merge it with a similarly named one.
Schema markup, written in JSON-LD using the Schema.org vocabulary, is the most direct way to state these facts in machine-readable form.
Step 1: Inventory your entities
Before writing any markup, list what the site is about:
- The organization: legal or trading name, logo, website, contact points, founding date where public.
- Brands and products: each product or service you offer, with its own page.
- People: authors, founders or experts whose names appear on the site.
- Places: offices, shops or service areas with their addresses and opening hours.
- Content: articles, guides and documentation.
For each entity, choose one canonical URL that is its main page. That URL becomes the anchor for its identifier.
Step 2: Choose the right types
Use the most specific Schema.org type that fits, and check which types each search engine supports for rich results:
- Organization or a subtype such as LocalBusiness for the company and its locations
- Product with Offer for physical or digital products
- Service for services; valid Schema.org, though Google has no dedicated rich result for it
- Article or BlogPosting for editorial content, with author and date
- BreadcrumbList for site hierarchy
- FAQPage, knowing that since August 2023 Google shows FAQ rich results only for well-known government and health websites
Google, Bing and Yandex all read Schema.org JSON-LD, but each documents its own supported types and required properties. Check the relevant documentation for every engine in your markets.
Step 3: Connect entities with @id
The @id property gives an entity a stable identifier, usually its canonical URL plus a fragment. Other nodes can then reference it instead of redefining it:
{
"@context": "https://schema.org",
"@graph": [
{
"@type": "Organization",
"@id": "https://www.example.com/#organization",
"name": "Example Analytics",
"url": "https://www.example.com/",
"logo": "https://www.example.com/logo.svg",
"sameAs": [
"https://www.wikidata.org/wiki/Q00000000",
"https://www.linkedin.com/company/example-analytics"
]
},
{
"@type": "Service",
"@id": "https://www.example.com/services/log-analysis#service",
"name": "Log file analysis",
"provider": { "@id": "https://www.example.com/#organization" },
"areaServed": ["DE", "AT", "CH"]
}
]
}
The service points to its provider by identifier, so every page that mentions the organization reinforces one entity rather than creating a new one.
Step 4: Use sameAs and keep facts consistent
The sameAs property links your entity to authoritative profiles that describe the same thing: a Wikidata item, official social accounts, a company register entry or a Google Business Profile. Only list profiles you control or that clearly refer to you.
Then check consistency across all of them:
- The same company name, including legal suffixes where used
- The same address and phone format for each location
- The same short description of what the company does
- The same founding date, leadership and product names
Inconsistencies here are a common reason assistants repeat outdated or wrong facts about a brand.
Step 5: Keep markup equal to visible content
Google’s structured data guidelines require markup to be relevant, accurate and representative of the content visitors can see. In practice:
- Do not mark up reviews, ratings or offers that are not shown on the page.
- Do not add FAQ markup for questions that are not visible.
- Update markup in the same release as the content it describes, ideally by generating both from the same data.
Violations can lead to a manual action that removes rich result eligibility for the site.
Step 6: Validate in layers
- Syntax: parse the JSON-LD and confirm it is valid JSON. Our free schema check tool flags common errors.
- Vocabulary: run the page through the Schema Markup Validator at validator.schema.org to check types and properties.
- Eligibility: use Google’s Rich Results Test for the types Google supports, and the equivalent tools in Bing Webmaster Tools and Yandex Webmaster.
- Rendering: if markup is injected with JavaScript, test the rendered HTML, not only the source.
- Monitoring: watch the enhancement reports in Search Console for new errors after each release.
What structured data does not do
- It does not guarantee a rich result, a Knowledge Panel or a citation in an AI answer.
- It does not fix thin or unclear content; it describes content that already exists.
- It is not a ranking shortcut. Its value is in making facts unambiguous for machines.
Put it into practice
Schema Markup & Entity Graph designs and validates a connected JSON-LD graph for your site. Query Cluster & Knowledge Panel aligns the facts that appear in your brand panel and branded results, and XML Sitemap & robots.txt Setup makes sure the marked-up pages can be crawled in the first place. For how entities affect AI answers, read what generative engine optimization is.
Put this into practice
All Technical SEO services →Have a question about your own site? Request a proposal →
More insights (6)
Recommender systems for mid-size e-commerce
What a mid-size online shop needs to run its own recommender system: interaction data, model choices, compute estimates and how to prove it adds revenue.
How to connect SEO and GEO work to revenue
Build a measurement chain from search and AI visibility to leads and revenue: event dictionaries, attribution limits, controlled tests and predictive models.
IndexNow, sitemaps and Google Indexing API
IndexNow, XML sitemaps and the Google Indexing API solve different problems. Which engines support each, their limits, and one setup that covers all three.
How to control AI crawlers with robots.txt
Which AI crawler tokens to allow or block in robots.txt, how training, search and user-triggered bots differ, and how to confirm the rules in your logs.
How to measure AI search visibility
A practical method for measuring AI search visibility: prompt sets, repeated sampling, mention, citation and accuracy scores, and AI referrals to revenue.
What is generative engine optimization?
A practical definition of generative engine optimization (GEO): how AI answers choose sources, how GEO relates to SEO, and the work that earns citations.
