InterCore Technologies
● InterCore · Agentic search optimization

Translating an Ontology into Schema.org JSON-LD for Law Firms

Be the firm AI recommends.

Convert your law firm's ontology (entities + relationships) into Schema.org JSON-LD so AI search engines understand and cite you.

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

Convert your law firm's ontology (entities + relationships) into Schema.org JSON-LD so AI search engines understand and cite you.

TL;DR — Key takeaways
  • An ontology defines entities (things: your firm, attorneys, courts, services) and relationships between them (an attorney works for the firm, a service is offered in a city). Schema.org is the standardized vocabulary for expressing these entities and relationships.
  • JSON-LD (JSON for Linking Data) is the serialization format—how you encode the ontology into a data structure that lives in your HTML. One @id per entity ensures that all references to the same entity point to the same logical object, creating a cohesive graph.
  • The core law-firm entity graph consists of Organization (the firm), LegalService (practice areas), Attorney (Person nodes), CourtHouse (jurisdictions), and LocalBusiness (offices). These are cross-linked via shared @id references and relationship properties like provider, worksFor, areaServed.
  • Schema.org's type hierarchy lets you express nuance: a LegalService has a provider (firm @id), areaServed (geography), knows about (expertise), and structured aggregate ratings (real reviews). Every field must match visible content; schema is a translator, never an assertion of things not on the page.
  • Validation via validator.schema.org catches syntax errors and incomplete required fields. Google's Rich Results Test shows which types qualify for SERP features, but non-eligible types (FAQPage, HowTo, Service, entities) are equally valid for AI citability—they just don't get a SERP badge.
  • The biggest lever: consistent entity resolution across pages. If your attorney appears as John Smith, johnsmith@firm.com, and john-smith on different pages, you have three entities instead of one. Linked via shared @id, you build entity authority—AI engines recognize the attorney as a single, credible actor.
The complete guide

Read it, chapter by chapter

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

Chapter 1 of 8

What Is an Ontology, and Why Does It Matter for Law Firms?

An ontology is a formal, shared vocabulary that defines entities (things in your domain) and the relationships between them. In philosophy, ontology is the study of what exists. In computer science and semantic web design, an ontology is a machine-readable blueprint of that existence. For a law firm, the ontology might define: a Firm (entity) has Attorneys (entities); each Attorney has a Bar License (property); the Firm offers LegalServices (entities); each Service applies in certain Jurisdictions (relationships); Clients (entities) engage Services and may receive Outcomes (properties, like a verdict or settlement).

Why ontologies matter: Google, ChatGPT, Claude, Gemini, and Perplexity are trained to extract and reason over entities and relationships. When they read your website, they are trying to build a mental model—an ontology—of what you do, where you serve, and who you are. If your website is vague ("we handle all kinds of law in many places"), the ontology the AI builds is diffuse and useless. If your website is precise and structured ("our firm offers medical malpractice litigation in San Francisco and Oakland; our attorneys are John Smith (State Bar #123456) and Jane Doe (State Bar #654321)"), the ontology is sharp, and AI engines can confidently cite you for relevant queries. This is core to GEO — Generative Engine Optimization for law firms.

Schema.org is the industry standard for expressing ontologies on the web. It is a collaborative project between Google, Microsoft, Yahoo, Yandex, and others—a shared vocabulary so that any site can describe its entities and relationships using the same terms. When you encode your law firm's ontology using Schema.org, you are using a language that every major AI engine and search engine understands natively.

Translating ontology to Schema.org JSON-LD is the bridge from your human understanding of your firm ("we are a personal injury practice with two offices and three attorneys") to a machine-readable graph that AI engines can crawl, parse, and cite. The translation happens in three layers: (1) design the ontology (entities + relationships), (2) map it to Schema.org types and properties, (3) encode it as JSON-LD in your HTML. Start with the ontology overview, then return here for the technical implementation.

Share
Every search intent, covered

Who, what, why, when, where & how

Understand why consistency in entity naming and @id matters for AI citability

How does entity resolution affect whether AI search engines cite my law firm?

Read /ontology-for-law-firms to learn the broader semantic ontology framework; then return here for the JSON-LD implementation details.
Apply schema.org to specific page types (practice area, location, attorney bio)

What schema should a medical malpractice page or a location hub include?

See /law-firm-schema-rules for type-by-type requirements and guardrails for every law-firm page type.
Measure whether schema improvements help with AI search visibility

How do I test if better schema increases citations from ChatGPT, Claude, and Gemini?

Read /geo-for-lawyers for the competitive audit framework—measure your pages against competitors to identify schema + content gaps.
Debug schema issues and validation errors

My schema validator is reporting errors. What do they mean and how do I fix them?

Use validator.schema.org interactively; cross-reference the error messages against this spoke's sections on validation and truthfulness gates.
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 Official DocumentationW3C JSON-LD SpecificationGoogle Structured Data Developer GuideInterCore Law Firm Schema RulesGEO for Law Firms: AI Citability PlaybookUnderstanding Entity SEO for Law FirmsGoogle Rich Results Test
FAQ

Frequently asked questions

An ontology is a conceptual model—the entities in your domain and how they relate. Schema.org is a vocabulary—a standardized set of types and properties for expressing ontologies on the web. JSON-LD is the format—the concrete syntax for encoding a schema.org ontology in HTML. Ontology is the idea; Schema.org is the language; JSON-LD is the code.

No. Your firm should have one @id (e.g., #organization) that appears on every page. Each practice area and location can have its own @id if you want to distinguish them, but they should all reference the firm @id as their provider or part of the same organization. Consistent @id reuse is what builds entity authority.

AI engines flag schema-content mismatches as low-quality markup and may ignore the schema. For example, if your schema claims you are licensed in 10 states but the page only mentions 3, the mismatch signals that the schema is not trustworthy. Always ensure schema reflects visible, verifiable content only.

No, but they complement each other. Open Graph tags (og:title, og:description, og:image) are used by social media when your page is shared. Schema.org (via JSON-LD) is used by search engines, AI engines, and structured-data consumers. Use both: Open Graph for social preview; Schema.org for search and AI.

Yes, always. Run it through validator.schema.org to catch syntax errors and missing required fields. Broken JSON-LD will not be parsed correctly. Also use Google's Rich Results Test to see how rich results preview and to spot any content mismatches.

sameAs is a Schema.org property that points to other URIs representing the same entity (e.g., your LinkedIn profile, Google Business Profile, Avvo profile). Using sameAs, you tell AI engines: "This entity also exists at these other places." This helps the engine disambiguate your firm from others and cross-reference your credibility across platforms. sameAs is one of the highest-leverage fields for law-firm entity authority.

Technically yes, but it is not recommended. Stick with JSON-LD; it is cleaner and easier to maintain. Microdata and RDFa are older formats. Google and most AI engines parse all three, but JSON-LD is the modern standard and the one recommended by Schema.org.

Update schema whenever your firm's real information changes: new attorney hired, new office opened, service areas added, credentials updated, etc. Use the @graph pattern so you do not have to duplicate data. Any change to a shared entity (e.g., adding an attorney to the firm @id) should be reflected across all pages that reference that @id.

More guides
What Is an Ontology in SEO?Ontology vs TaxonomyEntity Relationships in Law FirmsBuilding Your Firm's Knowledge GraphSemantic TriplesAuditing 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