Read it, chapter by chapter
The full 6-chapter guide for law firms — pick any chapter to read it here.
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.
| Entity | Schema.org Type | Key Properties | Related To |
|---|---|---|---|
| Firm | LegalService or Organization | name, address, telephone, areaServed | Attorney (employer), Practice Area (provider) |
| Attorney | Person | name, alumniOf, hasCredential, worksFor | Firm (employer), Practice Area (knowsAbout) |
| Practice Area | Service or OfferCatalog | name, description, areaServed, jurisdiction | Firm (provider), Court (hasJurisdiction) |
| Location / Office | Place or Organization | name, address, geo (latitude/longitude) | Firm (branch) |
| Court / Jurisdiction | CourtHouse | name, address, geo, areaServed | Practice Area (hasJurisdiction) |

