Read it, chapter by chapter
The full 7-chapter guide for law firms — pick any chapter to read it here.
What Is an Entity? (And Why It Matters More Than Your Keywords)
An entity is a real 'thing' that search engines and AI models recognize: a person, organization, place, concept, or event with a distinct identity. For your law firm, you are an entity — a specific organization with a name, address, practice areas, and attorneys. Entity SEO is the discipline of making that identity unambiguous and corroborated so search engines and LLMs treat you as a reliable, recognizable authority rather than just a collection of keywords.
In traditional keyword SEO, you optimize for queries: you write content targeting "personal injury lawyer in San Francisco" and hope Google ranks your site #1 for that phrase. Entity SEO takes a different approach: you teach the search engine that your firm IS a entity — it exists, it is verifiable, it has specific attributes (location, practice areas, attorney credentials), and it is cited and recognized by other authorities across the web.
Why this matters: keyword rankings are fragile. A competitor publishes better content, or Google's algorithm shifts, and your #1 ranking drops to #3. Entity strength is more durable. Once Google and AI engines recognize your firm as a real, corroborated entity in your practice areas and locations, you become a default answer to related queries — not because you rank for every keyword variant, but because you ARE the recognizable entity for that niche.
The shift is quantifiable in AI search. When you ask ChatGPT or Gemini "Which law firms handle medical malpractice in California?", the engine does not search for pages ranking #1 for "medical malpractice lawyer California." It retrieves pages about your firm based on entity recognition: it finds pages that mention your firm name, location, and practice area together, then checks whether your firm entity has verifiable credentials (licenses, case results, reviews, mentions in legal directories). If your entity is clear and corroborated, you appear in the answer. If you're just a keyword-optimized page with no entity clarity, you are invisible to AI crawlers even if you rank #1 on Google organic.
This is why entity SEO is the foundation for LLM-centric visibility (GEO). Keyword SEO is still important — it brings traditional organic traffic — but entity SEO determines whether AI models cite you at all.
Entity SEO vs. Keyword SEO: Two Strategies, One Goal
Both entity SEO and keyword SEO aim to make your firm visible to potential clients, but they target different systems: keyword SEO targets Google's ranking algorithms; entity SEO targets entity recognition in Google Knowledge Graph, AI search engines, and LLMs. Understanding the difference is critical because optimizing for one without the other leaves your firm invisible to either search or AI.
| Dimension | Keyword SEO | Entity SEO |
|---|---|---|
| What you optimize for | Search queries (e.g., "personal injury lawyer near me") | Entity recognition (e.g., your firm IS a recognizable entity) |
| Primary signal | Page content, links, domain authority | Schema.org markup, sameAs links, entity mentions across the web |
| Search system | Google organic ranking algorithm | Google Knowledge Graph, AI crawlers (GPTBot, ClaudeBot, PerplexityBot) |
| What it produces | Rank for keyword queries; click-through traffic | Entity recognition, Knowledge Panel eligibility, AI citations, local pack inclusion |
| Durability | Fragile; algorithm changes can shift rankings | More durable; based on corroboration and real-world authority |
| Attribution | "This site ranks for X keyword" | "This firm is THE recognized entity for X practice in Y location" |
In practice, the two strategies are interdependent. A page that ranks #1 for "personal injury lawyer San Francisco" needs both keyword optimization (relevant content, title, links) AND entity clarity (schema markup saying "this is a LegalService in San Francisco operated by [firm entity]" and linked to your firm's Google Business Profile). Neglecting either leaves you vulnerable.
Example: Compass Law Group ranks well for personal injury keywords in Southern California because (a) it has written deep, authoritative content on injury law (keyword SEO), AND (b) every location and practice-area page clearly identifies Compass as a verified, license-confirmed organization with a Knowledge Panel and consistent schema markup (entity SEO). The keyword content brings organic traffic; the entity signals make it citable by AI and eligible for the local pack and Knowledge Panel.
For AI visibility, entity SEO is the dominant lever. A generic personal injury law firm with high keyword rankings might be invisible to Gemini if its entity is not clearly established. Conversely, a smaller firm with moderate keyword rankings can punch above its weight in AI citations if it has strong entity signals.
Schema.org Structured Data: Speaking the Language of Entities
Schema.org is a collaborative standard (created by Google, Microsoft, Yahoo, Yandex, and Baidu) that defines how to mark up entities and their relationships using structured data — machine-readable code embedded in web pages. For law firms, Schema.org is the primary tool for entity SEO because it tells search engines and AI crawlers exactly what your firm is, where it operates, and what it does.
Structured data is not visible to users; it is metadata in the page's HTML. The most common format for law firms is JSON-LD, which uses JavaScript object notation to describe entities. For example, a simple firm entity might look like:
{
"@context": "https://schema.org",
"@type": "LegalService",
"name": "Compass Law Group",
"address": "123 Main St, Los Angeles, CA 90001",
"telephone": "+1-213-555-0123",
"areaServed": "California",
"knowsAbout": ["Personal Injury Law", "Medical Malpractice"]
}
This snippet tells the search engine: "This is a legal service. Its name is Compass Law Group. It is located at [address]. It serves California. It specializes in personal injury and medical malpractice." Google uses this data to populate Knowledge Panels, local search results, and AI-generated overviews. LLMs use it to understand your entity without needing to parse unstructured text.
The key types for law firms are:
LegalService — the main entity type for a law firm or practice area. It has properties like provider (who offers the service), areaServed (where), knowsAbout (what it's about), and audience (who it serves).
Attorney (a subtype of Person) — for individual lawyers. Each attorney should have their own node with properties like name, worksFor (linked to the firm), hasCredential (bar license, certifications), and sameAs (LinkedIn, Avvo).
LocalBusiness — for physical offices. If your firm has multiple locations (Los Angeles, San Francisco, San Diego), each location gets its own LocalBusiness node with its own address, phone, hours, and reviews.
Organization — the parent firm entity, holding company-wide properties like name, logo, contact info, foundedDate, and most importantly, sameAs links to your official profiles across the web.
The power of schema: it is not just for search engines anymore. LLMs like Claude, ChatGPT, and Gemini index and crawl structured data to understand entities. When you embed clean, comprehensive schema markup, you make your firm's identity machine-readable. This accelerates LLM-centric visibility because the AI crawler does not have to parse prose to extract your firm's identity — it is there in structured form.
One guardrail: schema must match visible content. Never mark up information that is not on the page (hidden in HTML comments, behind a login, etc.). Google penalizes markup that does not correspond to what a human sees. Similarly, every claim in schema (awards, credentials, locations) must be verifiable or you risk being demoted.
Building Entity Corroboration: The sameAs Strategy
Schema.org's sameAs property is the linchpin of entity SEO. It links your on-site firm entity to external, authoritative profiles, telling search engines and AI: "This entity (my website) is the same as that entity (my Google Business Profile, LinkedIn, Avvo, Wikipedia)." Corroboration through sameAs is how you convince search systems that your firm entity is real, not fabricated.
Google treats sameAs as an entity disambiguation signal. When your website says "I am Compass Law Group, same as [Google Business Profile URL], same as [LinkedIn company page], same as [Avvo profile]", Google can validate that: (1) all these profiles share the same name and location, (2) they describe the same entity, and (3) you control multiple authoritative properties. This corroboration boosts your entity's confidence score and makes you eligible for special search features (Knowledge Panel, local pack, AI citations).
The priority sources for law firms are:
Google Business Profile (GBP) — This is the #1 priority. A verified GBP is the canonical proof that your firm exists, is licensed, and operates at a stated address. Your website should link to your GBP via sameAs; your GBP should link back to your website. GBP also feeds local search, maps, and the Google Knowledge Graph.
LinkedIn Company Page — LinkedIn is a high-authority, verified platform. A LinkedIn company page listing your firm's name, practice areas, and URL serves as a second corroboration. Notably, LinkedIn also provides employee verification (attorneys can list their company affiliation), which signals to Google that real people work there.
Avvo — For legal professionals, Avvo is the industry-standard directory. An Avvo profile for your firm (if you list as a firm) or for individual attorneys (with your firm affiliation) is a strong entity signal. AI systems often retrieve Avvo profiles when researching law firms, so presence there increases discoverability and corroboration.
Justia, Martindale-Hubbell, and Other Legal Directories — Industry directories add corroboration. Each one you appear in (with byte-identical NAP) reinforces your entity.
Wikipedia and Wikidata — For established firms, a Wikipedia entry or Wikidata node is the gold standard of corroboration. Your firm's Wikipedia article (if notable enough to warrant one) carries a Wikidata Q-ID, which is the canonical identifier for the entity across the semantic web. Reference this Q-ID in your schema markup via sameAs: "https://www.wikidata.org/wiki/[Q-ID]".
The Law Firm's Official Channels — Twitter/X handle, YouTube channel, podcast, and other branded social media should be listed via sameAs so all your official properties are wired together as one entity.
The implementation: in your site's root schema (usually in the header or footer template), declare your Organization entity with a comprehensive sameAs array:
{
"@type": "Organization",
"name": "Compass Law Group",
"url": "https://www.compasslawgroup.com",
"sameAs": [
"https://www.google.com/maps/place/Compass+Law+Group/...",
"https://www.linkedin.com/company/compass-law-group/",
"https://www.avvo.com/attorneys/...",
"https://www.wikidata.org/wiki/Q...",
"https://twitter.com/compasslaw",
"https://www.youtube.com/@CompassLaw"
]
}
Every page referencing the firm should link back to this central Organization entity (using @id), so all pages share one unified entity identity. This creates a graph where every mention of your firm points to the same entity node, reinforcing corroboration.
The ROI: firms with strong sameAs linking show higher Knowledge Panel eligibility, better local pack rankings, and more frequent AI citations because the search system is confident the entity is real and authoritative.
Entity Clusters and Topical Authority: The Hub-and-Spoke Effect
Entity SEO becomes powerful when you extend it beyond your firm's identity to the relationships and clusters your firm occupies: your practice areas, locations, and the concepts and entities you are known for. This is called entity clustering or topical authority — the idea that your firm is not just a single entity, but a hub of related entities and concepts.
For example, Compass Law Group is not just an entity at one address. It is an entity that operates in multiple locations (Los Angeles, Burbank, Orange County — each its own LocalBusiness entity with its own schema). It is known for multiple practices (personal injury, medical malpractice, product liability — each a separate Service or LegalService entity). It employs multiple attorneys (each a Person entity, linked via worksFor back to the firm). And it handles cases involving multiple jurisdictions and legal concepts (California law, negligence, statute of limitations, etc.).
When you mark up all of these entities and their relationships via schema, you create a knowledge graph. This graph is not just for display — it is indexed by Google, understood by LLMs, and used for citation and recommendation. When an AI engine is asked "Which law firms handle medical malpractice in Los Angeles?", it does not search for the keyword phrase. It searches the knowledge graph for entities matching: [LegalService + medicalMalpractice + areaServed = LosAngeles]. If your schema is comprehensive and interconnected, your firm appears as the result.
The practice: for each major practice area, create a Service entity (or LegalService subtype) on your site that describes that practice and links it to your firm:
{
"@type": "Service",
"name": "Medical Malpractice Representation",
"provider": {"@id": "#organization"},
"areaServed": {"@id": "#california"},
"knowsAbout": ["Medical Malpractice", "Healthcare Law", "Negligence"]
}
For each location, create a LocalBusiness or LegalService entity scoped to that office:
{
"@type": "LegalService",
"name": "Compass Law Group - Los Angeles Office",
"address": {"@type": "PostalAddress", "streetAddress": "123 Main St", "addressLocality": "Los Angeles", ...},
"areaServed": "Los Angeles, California",
"provider": {"@id": "#organization"}
}
For each attorney, create a Person entity linked to the firm and their practices:
{
"@type": "Person",
"name": "John Smith, Esq.",
"worksFor": {"@id": "#organization"},
"sameAs": "https://www.linkedin.com/in/johnsmith",
"knowsAbout": ["Personal Injury Law", "Medical Malpractice"]
}
When all of these entities are cross-linked by shared @id references, you create a topical authority graph. The firm is the hub; each practice area, location, and attorney is a spoke. This graph is the entity-SEO equivalent of traditional hub-and-spoke content architecture, and it has the same effect: it makes you the recognized authority for related queries across multiple dimensions.
Importantly, this graph is not just for search. It is citable by LLMs. When an AI system encounters a mention of your firm, it can traverse the graph to understand: What practices does it handle? Where does it operate? Who works there? What are their credentials? This context makes your firm more likely to be cited accurately and in the right contexts.
Local Entity Signals: NAP, Geolocation, and Local Authority
For law firms serving specific geographies, local entity signals are critical. These signals tell search engines and AI that your firm is a real, grounded entity in that place — not a virtual-only or national firm pretending to have local expertise. The primary local signals are NAP (Name, Address, Phone) consistency, geolocation data, and local entity linking.
NAP Consistency — Your firm's name, address, and phone number must be byte-identical everywhere they appear: your website, Google Business Profile, Avvo, Justia, local directories, and schema markup. Even a tiny discrepancy ("Compass Law Group" vs. "Compass Law Group, APC" or "(213) 555-0123" vs. "+1-213-555-0123") signals to Google that the entities might be different. Audit your NAP across all platforms quarterly to catch drift.
Geolocation and Coordinates — Your schema should include precise geographic coordinates (latitude and longitude) for each office. In schema, this looks like:
{
"@type": "Place",
"geo": {
"@type": "GeoCoordinates",
"latitude": "34.0522",
"longitude": "-118.2437"
}
}
These coordinates let Google and AI systems map your location precisely, improving local search and local-entity recognition. They also feed into GEO (Generative Engine Optimization) systems that emphasize geography.
Local Administrative Area and Entity Linking — For location-based pages (e.g., your San Francisco office), link your location entity to the city/county entities via schema. Your San Francisco office should explicitly mark its areaServed as San Francisco and include a sameAs link to the Wikipedia or Wikidata entity for San Francisco. This tells the system: "Our firm operates in this specific, verifiable place," not just "we serve California." The same applies for county courts: mention the real Superior Court or District Court by name and link it via schema, so AI systems can associate your firm with the specific judicial geography where you practice.
Local Authority Signals — Beyond NAP, signal local authority by (a) mentioning real local landmarks, freeways, and neighborhoods on your location pages (not as filler, but genuinely — e.g., "Serving clients in Los Angeles and surrounding communities"), (b) listing bar admissions for each jurisdiction explicitly in attorney bios, (c) mentioning notable local case results or client successes (with consent and appropriate disclaimers), and (d) building links from local sources (chambers of commerce, local bar associations, local media).
These local signals do not directly affect keyword ranking, but they strongly affect entity recognition and AI citability for geo-queries. An AI system deciding whether to recommend your firm for "medical malpractice lawyer in San Francisco" will check: Does the firm have a San Francisco location (NAP)? Are they licensed in California? Do they have a track record in San Francisco (mentions, results, affiliations)? Strong local entity signals answer "yes" to all three, making you the top recommendation.
Getting Started: Building Entity SEO for Your Law Firm
Implementing entity SEO is a multi-step process that combines technical (schema markup), operational (NAP audits, entity linking), and content work (semantic clarity). Here is a practical roadmap:
Step 1: Audit Your Current Entity Presence — Search for your firm name on Google. Does a Knowledge Panel appear? Check your GBP, LinkedIn, Avvo, and Wikipedia (if applicable). Are they claiming the same name, address, and phone? Note any discrepancies. Use the Schema.org validator to check your site's existing markup for errors. This audit will reveal gaps and inconsistencies to fix.
Step 2: Establish Your Core Entity Schema — Create a comprehensive Organization entity in your site's footer or header (so it is consistent across all pages). Include your firm name, address, phone, website URL, logo, and most importantly, a complete sameAs array linking to your GBP, LinkedIn, Avvo, Justia, and other verified profiles. Use JSON-LD format. Have your developer add this to your site's HTML (in the <head> or before </body>).
Step 3: Fix NAP Consistency — Audit and align your Name, Address, Phone across all platforms. Update any outdated profiles (old Avvo listings, defunct directory entries). If your address changed, update it everywhere simultaneously or use 301 redirects on your old address pages. A staggered update signals inconsistency.
Step 4: Add Entity Markup to Key Pages — For each practice area (personal injury, medical malpractice, etc.), add a Service entity. For each location, add a LocalBusiness or location-specific LegalService entity. For each attorney, add a Person entity. Link all of these back to your central Organization entity using @id. Test each page's schema in the Schema.org validator.
Step 5: Build Semantic Clarity in Content — Use consistent terminology for your practices (pick one name for "personal injury" and use it everywhere, not "personal injury" sometimes and "injury law" other times). Spell place names correctly and consistently ("Los Angeles" not "LA" or "L.A." in formal content). This consistency helps both search algorithms and LLMs embed your content correctly and associate it with the right entities.
Step 6: Sync Your GBP and Website — Ensure your GBP listing is complete, verified, and linked to your website. Add your website URL to the GBP "Website" field. In your website's schema, add a reciprocal link to your GBP via sameAs. This two-way link is a strong corroboration signal.
Step 7: Monitor Entity Mentions and Links — Use tools like Google Search Console, Ahrefs, or similar to track when other sites mention your firm. Ensure they use your correct name and include a link back to your site or GBP (this is "citation building" in traditional local SEO). Encourage legal directories, chambers of commerce, and press coverage to use your verified NAP and link to your site.
Step 8: Iterate and Audit Quarterly — Entity SEO is not a one-time project. Quarterly, re-audit your NAP consistency, check for new mentions of your firm across the web, update your schema if you add new practices or locations, and verify that your GBP and website remain synced. Outdated entity information is almost as harmful as no entity information.
The timeline: basic entity SEO (schema, GBP, sameAs linking) can be implemented in 2–4 weeks. Seeing the impact in search (Knowledge Panel eligibility, local pack ranking improvements, AI citations) typically takes 60–90 days as Google and AI systems re-index and re-corroborate your entity. Long-term, the benefits compound: a firm with strong entity signals in year 1 will continue to rank for entity-based queries with minimal maintenance, whereas a keyword-only approach requires constant content updates to maintain rankings.
For law firms adopting GEO alongside traditional SEO, entity SEO is non-negotiable. It is the bridge between human-readable content (for organic rankings) and machine-readable identity (for AI citations). Invest in it early.

