How to build an internal entity graph that LLMs can follow?

Introduction
LLMs don't "read pages", they resolve entities and relationships. If your website is a maze without signage, you'll be left out of generative responses and lose attribution. This playbook guides you to create an internal entity graph (coherent, linked and measurable) that Google and AI engines can understand—aligned with AEO/GEO and no smoke.
TL;DR
- Canonize entities (Organization, Product/Service, Person, Article, FAQ/HowTo) with stable
@idandsameAsto official profiles; reuse those entities across the site with JSON-LD. - Express relationships with interlinking and properties:
brand,author,hasPart/isPartOf,about/mentions,mainEntityOfPage. - Control AI bots in
robots.txt(GPTBot, Google-Extended, Perplexity) and monitor logs/CDN. llms.txtis optional and emerging (not standard).- Measure AEO/GEO with: SGV, Attribution Rate, Entity Resolution and Edge Coverage.
Quick Answer
A good entity graph = (1) Entity registry with @id/sameAs; (2) Consistent JSON-LD; (3) Semantic linking; (4) AI crawler controls; (5) AEO/GEO metrics.
Step-by-step guide
1) Entity Registry (YAML)
Define a canonical inventory of your main entities:
- name: SearchBrand.ai
type: Organization
canonical_url: https://searchbrand.ai/
id: https://searchbrand.ai/#org
sameAs:
- https://www.linkedin.com/company/searchbrand-ai/
- https://twitter.com/searchbrand_ai2) Minimum JSON-LD (Organization + Person)
Implement structured JSON-LD on each relevant page:
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"Organization",
"@id":"https://searchbrand.ai/#org",
"name":"SearchBrand.ai",
"url":"https://searchbrand.ai/",
"logo":"https://searchbrand.ai/logo.png",
"sameAs":[
"https://www.linkedin.com/company/searchbrand-ai/",
"https://twitter.com/searchbrand_ai"
]
}
</script>
<script type="application/ld+json">
{
"@context":"https://schema.org",
"@type":"Person",
"@id":"https://searchbrand.ai/#rodrigo",
"name":"Rodrigo Méndez",
"url":"https://searchbrand.ai/es/autores/rodrigo-mendez",
"sameAs":["https://www.linkedin.com/in/rodrigo-mendez-6689a7308/"]
}
</script>3) Hubs and hierarchy
Model thematic hubs (AEO/GEO/Entity Graph) and link to guides, FAQs and HowTo with hasPart/isPartOf, about/mentions.
Create hub pages that act as knowledge centers for each main topic. Link from the hub to specific content and vice versa.
4) AI bot control (robots.txt)
Define specific rules for AI crawlers:
User-agent: GPTBot Disallow: /private/ Allow: / User-agent: Google-Extended Disallow: /private/ User-agent: PerplexityBot Disallow: /drafts/ Allow: / User-agent: * Disallow: /admin/
5) llms.txt (optional)
An emerging format to guide LLMs about your most relevant content:
# SearchBrand.ai ## Core - https://searchbrand.ai/es/ - https://searchbrand.ai/es/blog/ - https://searchbrand.ai/es/guias/aeo - https://searchbrand.ai/es/guias/geo ## Authors - https://searchbrand.ai/es/autores/rodrigo-mendez
llms.txt is not an official standard. Use it as a complement, but don't prioritize it over schema.org and semantic linking.
6) AEO/GEO Metrics
| KPI | Definition | How to measure |
|---|---|---|
| SGV (Search/Generative Visibility) | % of target queries where you appear cited/linked in generative responses. | Monthly sampling of prompts per engine; checklist of citations/links. |
| Attribution Rate | % of times that, when mentioning you, they include a link to your source. | Count of responses with vs. without link. |
| Entity Resolution Rate | % of prompts where the LLM correctly identifies your Organization/Product/Person. | Test suite of prompts + manual verification. |
| Edge Coverage | % of expected relationships present (Org→Product, Product→FAQ/HowTo, Author→Org). | JSON-LD + interlinking audit. |
| Crawler Compliance | % of AI bot requests that respect robots.txt. | CDN/WAF logs by verified user-agent. |
Frequently Asked Questions
Conclusion
Building an internal entity graph is not optional if you want to be visible in the era of generative responses. Start with the minimum viable: define your main entities, implement consistent JSON-LD, link semantically and measure with AEO/GEO metrics.
Want to start today?
Our AEO/GEO Scan (beta) with SearchBrand.ai helps you prioritize entities/edges and close gaps. Request early access.