InterCore Technologies
● InterCore · Agentic search optimization

What Is an Ontology in SEO? A Law Firm's Guide to Entity Relationships and AI Citability

Be the firm AI recommends.

Learn how ontologies (entity relationships and semantic structure) improve law firm visibility in AI search engines and traditional SEO.

Get your free AI visibility report →Read the guide
By Scott Wiseman·CEO & Founder, InterCore Technologies·Updated Jul 2026
Quick
answer

Learn how ontologies (entity relationships and semantic structure) improve law firm visibility in AI search engines and traditional SEO.

TL;DR — Key takeaways
  • Ontology = the formal structure of meaning: entities (people, places, organizations, concepts) plus the relationships between them. It is how machines understand what things are and how they relate.
  • Schema.org is the standard vocabulary (JSON-LD) that tells AI systems what type of entity you are describing (a law firm, an attorney, a court, a legal practice area) and how entities connect.
  • Entity linking means connecting a mention of a real-world thing (e.g., a judge's name, a jurisdiction, a statute) to its authoritative reference (Wikidata ID, Wikipedia, Google Knowledge Graph). This disambiguates meaning and tells AI what you are talking about.
  • Consistent ontologies make content more citable by AI search engines (ChatGPT, Claude, Gemini, Perplexity) because the engines understand your entity relationships and can extract passage-level answers that mention the right people, places, and practices.
  • The entity graph — who works for whom, what practice area serves what jurisdiction, how cases relate to statutes — is machine-readable structure that improves both AI search visibility and traditional E-E-A-T signals (Expertise, Authoritativeness, Trustworthiness).
  • Ontology + <a href="/geo-for-lawyers">GEO (Generative Engine Optimization)</a> work together: semantically clear, entity-linked content ranks in Google AND gets cited by AI search engines because the relationships are unambiguous to both.
The complete guide

Read it, chapter by chapter

The full 6-chapter guide for law firms — pick any chapter to read it here.

Chapter 1 of 6

What Is an Ontology in SEO, and Why Should Law Firms Care?

An ontology is a formal, machine-readable representation of meaning: a structured map of entities (things: people, places, organizations, concepts, legal statutes, court cases) and the relationships between them. In SEO, ontology is how you tell search engines and AI systems what your content is actually about — not just the words you use, but the real-world things those words refer to, and how those things connect. For a law firm, an ontology answers questions like: What type of entity are you (a law firm, solo practice, legal service provider)? What jurisdiction do you serve? Who are the attorneys, and what practices does each handle? What courts, statutes, and legal concepts does your content address?

Traditional SEO focused on keywords and links — Google's crawler indexed words and inbound signals. But LLMs and AI search engines work differently. They parse content for entities and relationships. When an AI system retrieves your page to cite it, it does not just look for keyword matches; it extracts semantic meaning: is this page about medical malpractice or personal injury? Is it jurisdiction-specific (California vs. New York) or general? Who is the author, and what are their credentials? Do the practice areas, attorney names, and jurisdictions mentioned cohere into a consistent entity graph, or are they scattered and contradictory?

An ontology-aware content strategy ensures that every page, every section, every mention of an entity (an attorney, a court, a statute, a practice area) is consistent, specific, and linked — so AI systems can extract clean, unambiguous information that they can cite with confidence. This is why ontology has become the highest-leverage lever in GEO (Generative Engine Optimization): it transforms your content from a text collection into a semantically clear knowledge graph.

Keyword SEO vs. Ontology-Aware GEO
AspectKeyword SEO (Traditional)Ontology-Aware (GEO)
FocusWord frequency, keyword matchingEntity types, relationships, semantic clarity
What search engines readText and links (surface layer)Entities, relationships, structured data (deep layer)
Queries matchedLexical: exact phrase or close variantsSemantic: intent-aware, entity-focused
AI citationsFound, but often non-specificFound and cited accurately (right practice, right jurisdiction)
Content structureTopic clusters, internal linksEntity graph, relationships, JSON-LD schema
Key toolLink building, keyword optimizationSchema.org, entity linking, structured data

The core insight: Google can infer meaning from links and CTR; AI systems must be told meaning explicitly through structure. An ontology is that explicit language.

Share
Every search intent, covered

Who, what, why, when, where & how

How do I apply ontologies to my law firm's website?

How do I add Schema.org JSON-LD to my law firm website?

Step-by-step guide to implementing ontologies using Schema.org on WordPress and custom sites; examples for practice-area hubs, location pages, attorney bios, and FAQ sections.
How do ontologies relate to AI search visibility?

Do ontologies and schema really improve my law firm's visibility in ChatGPT, Claude, and Gemini?

Explain the retrieval and ranking mechanisms AI search engines use; show how entity-linked schema improves passage extraction, citation accuracy, and ranking in semantic search.
I want to audit my site's current ontology for gaps.

How do I audit my law firm website for schema completeness and entity consistency?

Checklist for auditing schema coverage by page type; tools for detecting entity inconsistencies (name variants, missing sameAs links); remediation prioritization.
What is the relationship between ontology, traditional SEO, and GEO?

How does ontology fit into a law firm's overall search strategy (SEO + GEO)?

Comparative analysis: where traditional link-based SEO ends and entity-based GEO begins; how ontologies serve both; why a complete strategy uses both.
InterCore · Services

Every guide in this hub

Explore the full cluster — pick any node to open its guide.

7
Services
What clients say

In their words

5.0★★★★★Excellent · 20 reviews on GoogleWrite a review
★★★★★

We tried a lot of vendors, but in less than a year, this law firm marketing agency generated tangible results.

Calyn Settle
Verified Google review · 8 months ago
★★★★★

Within 90 days we were showing up in ChatGPT and Google AI Overviews for our top practice areas. The qualified calls followed.

Managing Partner
Personal Injury firm
★★★★★

They actually understand how the AI platforms work. Our cost per signed case dropped while lead quality went up.

Founding Attorney
Family Law firm
★★★★★

As a solo, I finally compete with the billboard firms — because AI recommends me by name for DUI cases in my city.

Solo Practitioner
Criminal Defense

One verified Google review shown; the remaining quotes are representative. Past results do not guarantee future outcomes.

Scott Wiseman, CEO / Founder, InterCore Technologies · AI-Powered Marketing for Law Firms Since 2002
Scott Wiseman
CEO / Founder, InterCore Technologies · AI-Powered Marketing for Law Firms Since 2002

Scott is a former Google Marketing Director with a background in computer science and business. He helps law firms acquire clients across every search channel — SEO, PPC, and the newer generative and answer-engine categories (GEO and AEO) — improving their visibility both on Google and in the recommendations of AI systems like ChatGPT, Gemini, and Perplexity. A network engineer and software programmer by training, Scott holds a bachelor's in computer science from California State University, Northridge, an MBA from Pepperdine's Graziadio Business School, and an Applied Agentic AI certificate from Harvard Business School. He has guided law firms through every major shift — Yellow Pages to Google Ads to today's AI revolution — pioneering Generative Engine Optimization for attorneys nationwide.

Watch · Short

Why Law Firms Need GEO (Generative Engine Optimization)

100+
law firms served
18:1
avg marketing ROI
2002
law-firm-only since
More on the InterCore channel — @IntercoreAI
Sources & references

Backed by research

Schema.org: Schema Documentation and JSON-LD SpecificationGoogle Search Central: Structured Data for Law Firms and Local BusinessesWikidata: A Free and Open Knowledge BaseW3C: Semantic Web and Linked Data StandardsGoogle Rich Results Test: Validate Structured Datavalidator.schema.org: JSON-LD Schema Validator
FAQ

Frequently asked questions

A taxonomy is a hierarchical classification (categories and subcategories, like folders in a file system). An ontology is relationships: not just "medical malpractice is a category" but "medical malpractice serves these jurisdictions, is handled by these attorneys, is related to these statutes." Ontology is richer; it captures meaning, not just hierarchy. A law firm site might have a taxonomy of practice areas, but an ontology defines how those practices relate to locations, attorneys, and case outcomes.

For web-visible, SEO-relevant content, yes. Schema.org is the standard that Google, Microsoft, and AI systems (ChatGPT, Claude, Gemini) recognize. Internal tools and databases might use other ontologies (industry-specific vocabularies, proprietary data models), but for your public website, Schema.org JSON-LD is the standard.

@id is the unique identifier for an entity in JSON-LD. When you set @id for the firm Organization (e.g., "@id": "https://yourfirm.com/#organization"), every other page that references the firm should use that same @id, not create a new entity with a different @id. Reusing @id unifies the entity graph; different @ids split the entity into separate entities in the machine's understanding.

Include the required properties for the entity type (listed in Schema.org documentation and validator.schema.org), plus any properties that describe the entity accurately. Do not add properties just to have more data; data you include must match the visible page content. A practice-area page should include name, description, provider (firm), areaServed, and knowsAbout; it does not need priceRange if you do not publish prices.

Schema itself is not a direct ranking factor, but it enables Google to understand your content better, which indirectly helps rankings. More importantly, schema is critical for AI visibility. AI search engines (Gemini, Perplexity, Claude) rely on schema to extract accurate, entity-specific information. So schema does not move your Google position, but it moves your AI citation rate.

That is normal. Most law firms do not have Wikidata Q-IDs. You can still link via Google Business Profile, LinkedIn, Wikipedia (if the city you serve has a Wikipedia article), and your own domain URL. Use the sameAs properties you can verify; leave out sameAs links you cannot verify.

Update it when material facts change: a new attorney joins (add a Person node), you expand to a new jurisdiction (update areaServed), a practice area is discontinued (remove from knowsAbout), or you move offices (update address, geo). Routine content updates (blog posts, case wins) do not require ontology changes unless they add new entities.

You can use ontologies on any site. WordPress plugins like Yoast SEO, RankMath, and Schema Plugin allow you to add Schema.org JSON-LD without code. For complex multi-office or multi-practice setups, a custom theme or plugin may be needed, but the standard Schema.org vocabulary is platform-agnostic.

More guides
Ontology vs TaxonomyEntity Relationships in Law FirmsBuilding Your Firm's Knowledge GraphSemantic TriplesTranslating Ontology to Schema.org JSON-LDAuditing a Law Firm Site's Ontology

Ready to be the answer AI recommends?

See exactly how ChatGPT, Google AI and Perplexity rank your firm — a 23-point report in 24 hours. No credit card.

Get my free AI visibility report →Call 213-282-3001