Advanced Structured Data

Advanced techniques for implementing structured data that maximizes AI understanding of your content and relationships between entities.

Entity Relationships

Link entities across your site:

{
  "@context": "https://schema.org",
  "@type": "Article",
  "headline": "Guide to AEO",
  "author": {
    "@type": "Person",
    "@id": "https://yoursite.com/#author-jane",
    "name": "Jane Smith"
  },
  "publisher": {
    "@type": "Organization",
    "@id": "https://yoursite.com/#organization"
  },
  "about": {
    "@type": "Thing",
    "@id": "https://yoursite.com/topics/aeo",
    "name": "Answer Engine Optimization"
  }
}

Using @id for Entity Reuse

Define entities once, reference elsewhere:

{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://yoursite.com/#org",
      "name": "Your Company",
      "url": "https://yoursite.com"
    },
    {
      "@type": "WebSite",
      "@id": "https://yoursite.com/#website",
      "name": "Your Site",
      "publisher": { "@id": "https://yoursite.com/#org" }
    },
    {
      "@type": "Article",
      "isPartOf": { "@id": "https://yoursite.com/#website" },
      "publisher": { "@id": "https://yoursite.com/#org" }
    }
  ]
}

Help AI understand site hierarchy:

{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Home",
      "item": "https://yoursite.com"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Documentation",
      "item": "https://yoursite.com/docs"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Current Page",
      "item": "https://yoursite.com/docs/page"
    }
  ]
}

Best Practices

  1. Use @graph for multiple entities — Keep related schemas together
  2. Use @id for references — Enable entity reuse
  3. Include breadcrumbs — Show content hierarchy
  4. Link related content — Use relatedLink, isPartOf
  5. Test thoroughly — Validate with schema.org validator

Next Steps

Was this page helpful?