InterCore Technologies
● InterCore · Agentic search optimization

How to Map and Structure Law Firm Entities and Relationships

Be the firm AI recommends.

Learn how to model firm → attorney → practice area → court relationships so AI search engines understand your expertise structure.

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

Learn how to model firm → attorney → practice area → court relationships so AI search engines understand your expertise structure.

TL;DR — Key takeaways
  • A law firm is a semantic entity made up of related sub-entities (attorneys, offices, practice areas, courts). AI search engines map relationships between these entities to understand authority and expertise.
  • The core relationships are: Attorney works for Firm; Attorney practices in Practice Area; Firm serves Location; Practice Area has Jurisdiction (state, court, county). These relationships are machine-readable via schema.org JSON-LD.
  • When you structure your website to reflect these relationships—consistent naming, typed schema, cross-linking—AI models learn to associate your firm with specific practice areas, courts, and jurisdictions. This is called entity linking.
  • Schema.org provides types and properties to express these relationships: Organization (firm), Person (attorney), Service (practice area), Place (office location), and CourtHouse (jurisdiction). Wiring them together with @id and relationship properties creates a machine-readable entity graph.
  • The alternative—a generic site where every page lists "we handle all practice areas" without structure—teaches AI that your firm has diffuse expertise in everything and is therefore authoritative in nothing. Clarity and structure wins.
  • Search engines and AI systems use entity graphs to resolve ambiguity: "attorney at abc law firm" uniquely identifies a person and their employer. Without the graph, "ABC Law Firm" could match dozens of firms with similar names.
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 Entity Relationship, and Why Do Law Firms Need One?

An entity relationship is a connection between two distinct entities that AI systems use to understand meaning and context. In a law firm, the core entities are: the Firm (organization), Attorneys (people), Practice Areas (services), Locations (offices), and Courts (jurisdictions). The relationships are: an Attorney works for a Firm; an Attorney practices in one or more Practice Areas; a Firm serves specific Locations and Jurisdictions; a Practice Area is heard in specific Courts. When these relationships are explicit and consistent across your website, AI search engines learn to associate your firm with specific expertise.

Why does this matter? Because AI systems like ChatGPT, Gemini, and Perplexity use entity relationships to answer questions accurately. If a user asks "What law firms in California specialize in medical malpractice?", the AI system retrieves pages from law firms and scores them by how clearly they establish the relationship: Firm in California + Practice Area is medical malpractice. A generic site that lists every practice area and every state equally well scores lower than a site that explicitly maps California to medical malpractice on this firm's pages.

Furthermore, entity relationships prevent ambiguity. There are hundreds of "Smith Law Firm" entries in legal directories. When your website consistently states the relationship "John Smith works for Smith Law Firm in Los Angeles," and links that entity to a unique identifier (like a Wikidata Q-ID or a LinkedIn URL), AI systems can distinguish *your* Smith Law Firm from others with the same name. This is called entity disambiguation.

Schema.org, the standard language for marking up entities and relationships on web pages, provides the vocabulary. When you use schema, you are saying: "This page is about Entity X, which has the following properties and relationships." AI crawlers read this, extract the structured data, and add it to their knowledge graph. This is more reliable than trying to infer relationships from plain text alone.

Core Law-Firm Entities and Their Schema Types
EntitySchema.org TypeKey PropertiesRelated To
FirmLegalService or Organizationname, address, telephone, areaServedAttorney (employer), Practice Area (provider)
AttorneyPersonname, alumniOf, hasCredential, worksForFirm (employer), Practice Area (knowsAbout)
Practice AreaService or OfferCatalogname, description, areaServed, jurisdictionFirm (provider), Court (hasJurisdiction)
Location / OfficePlace or Organizationname, address, geo (latitude/longitude)Firm (branch)
Court / JurisdictionCourtHousename, address, geo, areaServedPractice Area (hasJurisdiction)
Share
Every search intent, covered

Who, what, why, when, where & how

learn-how-to-structure

How do I structure my website to show law firm entity relationships to Google and AI search?

Review the hub-spoke model section, then audit your site's URL structure and schema to see if each page carries relationship metadata.
implement-schema

What is the exact JSON-LD I should put on a practice area page to link it to my firm and my attorneys?

Check the <a href="/law-firm-entity-relationship-mapping">law-firm-schema-rules</a> skill for Service node snippets with provider, areaServed, and mentions properties.
debug-authority

Why isn't my firm showing up for practice area + location queries even though my site has pages for both?

Audit your schema @ids: every page must reference the firm by a single stable @id. If the firm is declared differently on different pages, the system treats them as separate entities, fragmenting your authority. Use a schema validator to check.
entity-linking-guide

How do I link my law firm to external platforms like LinkedIn, Google Business, and Avvo so AI search engines verify who I am?

Add sameAs properties in your Firm (Organization or LegalService) node, pointing to your canonical GBP, LinkedIn, and bar association URLs. This helps AI systems disambiguate your firm from others with similar names.
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 Organization and LocalBusiness types (official documentation)Schema.org Person type (official documentation)Schema.org Service type (official documentation)Google Search Central: Structured Data (official documentation for implementing schema)Google Rich Results Test (tool to validate schema markup)Schema.org Validator (syntax validation tool)InterCore: Hub-Spoke Content Architecture for Law FirmsWikidata: Structured Data on the Web (reference for entity linking)
FAQ

Frequently asked questions

An entity is a distinct thing that can be identified: a person, organization, place, or concept. A relationship is a connection between two entities: e.g., an attorney (entity) works for (relationship) a firm (entity). Schema.org provides types for entities and properties for relationships.

Text alone is sufficient for humans but not for AI systems. AI can infer some relationships from text (e.g., "John works at ABC Law Firm"), but inference is error-prone and unreliable. Schema.org is machine-readable and unambiguous: it explicitly states the relationship. Use schema for any relationship you want AI systems to understand with certainty.

The @id is a unique identifier for an entity. It can be a full URL (https://yoursite.com/#organization) or a fragment identifier (#attorney-john-smith). The @id allows you to reference the same entity across multiple places without duplicating its properties. When a page references an entity by @id, AI systems know they are the same entity, building a unified graph. Without @id, each mention looks like a separate entity.

Priority order: (1) Google Business Profile (canonical location), (2) LinkedIn (for individuals and firms), (3) Wikipedia (for places, practices, concepts), (4) State bar association or Wikidata (for official verification), (5) legal directories (Avvo, Justia, Martindale). Always use canonical (primary) URLs. Avoid temporary or promotional URLs.

They need distinct @ids to avoid ambiguity. For example, #attorney-john-smith-los-angeles and #attorney-john-smith-san-francisco, or include their year of admission. Without disambiguation, AI systems will merge them into one person, and you lose the ability to distinguish their expertise and credentials. Disambiguate in the @id itself or in the Person node's disambiguatingDescription property.

Not without consequences. If you change the @id, pages that reference the old @id will no longer find it, fragmenting the entity graph. If the @id is a URL, changing it also breaks external links to that entity. If you must change an @id, set up a 301 redirect from the old URI to the new one, and update all internal schema references. For this reason, choose permanent, stable @ids at the outset.

Use multiple areaServed properties. A Medical Malpractice Service node can have areaServed: [California, Nevada, federal courts in CA/NV]. Use Place nodes with @id (e.g., #ca-state-law) to represent each jurisdiction, then link them. This allows AI systems to understand that your practice spans multiple places and to match local queries appropriately.

You can combine them on a single page, but it sacrifices semantic specificity. A single page "Our Practice Areas" that lists Medical Malpractice, Personal Injury, and Employment Law all together gets a single Service node that mentions all three. AI systems cannot distinguish which area the firm truly specializes in. Separate pages (one per practice area, optionally with location variants) allow each area to be deeply citable. The best approach: one hub page that overviews all practices, plus individual spoke pages per practice area, each with detailed schema and content.

More guides
What Is an Ontology in SEO?Ontology vs TaxonomyBuilding 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