# Connect entities

- Check 15.16 · Schema.org structured data · Important
- Source: https://checklist-seo-geo.com/en/schemaorg-structured-data/connect-entities
- Connect organization, website, pages, authors, products and brands in a consistent JSON-LD graph via @id, on WordPress, WooCommerce, Shopify, Laravel or Next.js.
- Updated on 2026-11-25
- Licence: CC BY 4.0. Credit “Checklist SEO & GEO” with a link to https://checklist-seo-geo.com/en/schemaorg-structured-data/connect-entities.
- Plugin checklist-seo-geo: 1.3.1 · https://github.com/maximegaul/checklist-seo-geo

## In short

Isolated markup says "here is an article". Connected markup says "this article, published on this website by this organization, was written by this person, who works for this organization". The check consists of connecting the entities on each page through the properties schema.org provides (`publisher`, `author`, `isPartOf`, `brand`, `provider`…), referencing them by their `@id`, to form a single consistent graph instead of blocks placed side by side.

## Why it matters

Search engines build knowledge graphs: entities (people, organizations, products, places) and the relationships between them. Your structured data is a chance to declare these relationships yourself, unambiguously.

Google shows this in its general guidelines: when a page contains several items, it recommends using `@id` to connect them, and warns that without this link, it may not understand that a video relates to the recipe on the page. The same principle applies to every relationship: an `Article` whose `author` is a plain string is less useful than an `Article` whose author is an identified `Person`, connected to their page, their profiles and their employer.

Unconnected blocks cause three problems:

- **Implicit duplicates**: an organization described three times (in `WebSite`, in `Article.publisher`, in `Product.brand`) with three slightly different names.
- **Lost relationships**: the video, the review or the breadcrumb float around without being attached to the main item.
- **Weaker expertise signals**: the author is not attached to the organization, the organization is not attached to the website.

On the GEO (Generative Engine Optimization) side, making clear who publishes, who writes and who manufactures is useful, but no generative engine documents using schema.org to build its answers. The same relationships must be readable in the text: author byline, "about" page, brand mention. See [link authors to the organization](https://checklist-seo-geo.com/en/entity-seo-digital-identity/link-authors-organization) and [link products to their brand](https://checklist-seo-geo.com/en/entity-seo-digital-identity/link-products-their-brand).

## What it improves

- **Understanding**: search engines know who publishes, who writes, who sells, and what the page is about.
- **Rich results**: secondary items (video, review) are attached to the right main item.
- **Consistency**: each entity is described once and referenced elsewhere, with the same values.
- **Maintenance**: changing the organization's logo or name happens in one place.
- **Rankings and AI citations**: no documented direct effect.

## How to check

Paste a page URL into the Schema Markup Validator: the tree shows which entities are nested or referenced. To see the links, copy the page's JSON-LD into the JSON-LD Playground, visualization tab: a connected graph forms a single connected whole, isolated blocks form islands.

From the command line, list the page's references (objects that contain only an `@id`):

```bash
curl -s https://example.com/blog/detartrer-bouilloire/ | grep -o -E '"(author|publisher|isPartOf|mainEntityOfPage|about|brand|provider|creator|worksFor)": ?\{ ?"@id": ?"[^"]+"' | sort -u
```

Then check that each referenced `@id` is defined somewhere on the page, with a `@type` and at least a name.

Expected result: each entity is defined once per page, each reference points to a defined entity, and the main entities are all connected to one another.

## How to implement

### Before you start

The relationships to establish depending on the type of site:

| Entity | Property | To | Use |
|---|---|---|---|
| `WebSite` | `publisher` | `Organization` (or `Person` for a personal site) | All sites |
| `WebPage` | `isPartOf` | `WebSite` | All pages |
| `WebPage` | `breadcrumb` | `BreadcrumbList` | Pages with a breadcrumb |
| `WebPage` | `primaryImageOfPage` | `ImageObject` | Pages with a main image |
| `WebPage` | `mainEntity` or `about` | Main entity (article, product, service) | Depending on the template |
| `Article` | `author` | `Person` | Editorial content |
| `Article` | `publisher` | `Organization` | Editorial content |
| `Article` | `mainEntityOfPage` | `WebPage` | Editorial content |
| `Person` | `worksFor` | `Organization` | Employed or partner authors |
| `Product` | `brand` | `Brand` or `Organization` | E-commerce |
| `Offer` | `seller` | `Organization` | E-commerce |
| `Service` | `provider` | `Organization` or `LocalBusiness` | Service sites |
| `LocalBusiness` | `parentOrganization` | `Organization` | Branch networks |
| `Recipe`, `Product` | `video` or `subjectOf` | `VideoObject` | Pages with a video |
| `Event` | `organizer`, `location` | `Organization`, `Place` | Events |

Two ways to connect:

- **Nesting**: the object is described inside its parent (`"author": {"@type": "Person", "name": "…"}`). Simple for a page-specific entity.
- **Referencing**: the entity is described once, with its `@id`, and cited elsewhere with `{"@id": "…"}`. Essential for shared entities (organization, website, author).

The most readable approach is a single block with a `@graph` array, each entity at the top level, connected to the others by reference. The `@id` values follow the convention in [use stable @id values](https://checklist-seo-geo.com/en/schemaorg-structured-data/use-stable-at-id-values).

Full example for a blog post:

```html
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://example.com/#organization",
      "name": "Exemple Studio",
      "url": "https://example.com/",
      "logo": "https://example.com/logo.png"
    },
    {
      "@type": "WebSite",
      "@id": "https://example.com/#website",
      "name": "Exemple Studio",
      "url": "https://example.com/",
      "publisher": { "@id": "https://example.com/#organization" }
    },
    {
      "@type": "WebPage",
      "@id": "https://example.com/blog/detartrer-bouilloire/#webpage",
      "url": "https://example.com/blog/detartrer-bouilloire/",
      "name": "Descaling a cast iron kettle",
      "isPartOf": { "@id": "https://example.com/#website" },
      "breadcrumb": { "@id": "https://example.com/blog/detartrer-bouilloire/#breadcrumb" }
    },
    {
      "@type": "BlogPosting",
      "@id": "https://example.com/blog/detartrer-bouilloire/#article",
      "headline": "Descaling a cast iron kettle without damaging it",
      "datePublished": "2026-10-14T09:00:00+02:00",
      "dateModified": "2026-11-02T16:30:00+01:00",
      "image": "https://example.com/images/bouilloire.jpg",
      "mainEntityOfPage": { "@id": "https://example.com/blog/detartrer-bouilloire/#webpage" },
      "author": { "@id": "https://example.com/auteurs/jeanne-martin/#person" },
      "publisher": { "@id": "https://example.com/#organization" }
    },
    {
      "@type": "Person",
      "@id": "https://example.com/auteurs/jeanne-martin/#person",
      "name": "Jeanne Martin",
      "url": "https://example.com/auteurs/jeanne-martin/",
      "jobTitle": "Editorial manager",
      "worksFor": { "@id": "https://example.com/#organization" },
      "sameAs": ["https://www.linkedin.com/in/exemple-jeanne-martin"]
    },
    {
      "@type": "BreadcrumbList",
      "@id": "https://example.com/blog/detartrer-bouilloire/#breadcrumb",
      "itemListElement": [
        { "@type": "ListItem", "position": 1, "name": "Blog", "item": "https://example.com/blog/" },
        { "@type": "ListItem", "position": 2, "name": "Descaling a cast iron kettle" }
      ]
    }
  ]
}
</script>
```

> **Warning:** a `{"@id": "…"}` reference to an entity described only on another page is not guaranteed to be resolved by search engines. Describe on each page the entities it references, at least with `@type`, `@id` and `name`. This is what SEO plugins do: they publish the full graph on every page.

### WordPress

Versions: WordPress 6.4 to 7.1, WooCommerce 9 and later, Yoast SEO 20 and later, Rank Math 1.0.

Yoast SEO and Rank Math already publish a connected graph: `Organization` or `Person`, `WebSite`, `WebPage`, `Article`, `BreadcrumbList`, `ImageObject`, with their `@id` values. Your job is to configure it and attach to it what the plugins do not cover.

1. **Site representation**: in Yoast SEO, `Settings > Site representation`, choose Organization or Person, and fill in the name and logo; in Rank Math, `Titles & Meta > Local SEO` plays the same role. Without this setting, `publisher` stays empty.
2. **Authors**: complete each author's profile (display name, biographical info, social profiles) so that the graph's `Person` is filled in.
3. **WooCommerce**: its `Product` block is separate from the SEO plugin's graph. Attach the seller to the organization with a filter:

```php
add_filter('woocommerce_structured_data_product', function (array $markup): array {
    $organizationId = home_url('/') . '#organization';

    foreach ($markup['offers'] ?? [] as $index => $offer) {
        $markup['offers'][$index]['seller'] = ['@id' => $organizationId];
    }

    $markup['@id'] = get_permalink() . '#product';

    return $markup;
});
```

The `home_url('/') . '#organization'` identifier matches Yoast SEO's; check your plugin's with curl before using it. Yoast's paid WooCommerce add-on integrates the product directly into the graph.

4. **Additional entities** (service, local business, event): add them to the graph with the `wpseo_schema_graph` filter (Yoast) or `rank_math/json_ld` (Rank Math), referencing the organization by its `@id`.

### Shopify

Versions: Online Store 2.0 themes (Horizon, Dawn), all Shopify plans, November 2026.

The free themes (Horizon, Dawn) describe the organization in the header section (`sections/header.liquid`), without an `@id`, and the product in the product section, through the `structured_data` filter, which sets no references to the organization. To connect the product to its brand and to the seller, write the product block by hand (see [use stable @id values](https://checklist-seo-geo.com/en/schemaorg-structured-data/use-stable-at-id-values) for the Liquid template) with:

```liquid
"brand": { "@type": "Brand", "name": {{ product.vendor | json }} },
"offers": {
  "@type": "Offer",
  "price": {{ product.selected_or_first_available_variant.price | divided_by: 100.0 | json }},
  "priceCurrency": {{ cart.currency.iso_code | json }},
  "seller": { "@id": {{ shop.url | append: '/#organization' | json }} }
}
```

And make sure the referenced organization is described on the page, with the same `@id`: add it to the block in `sections/header.liquid`, or move that block to `layout/theme.liquid`. If you are the manufacturer yourself, add `"manufacturer": { "@id": … }` pointing to your organization.

### Laravel

Versions: Laravel 11 to 13, spatie/schema-org 3 to 5 optional (version 5 requires PHP 8.4).

Assemble the graph in a class, one method per entity, and add entities depending on the page:

```php
$graph = [
    SchemaGraph::organization(),
    SchemaGraph::website(),
    SchemaGraph::webPage($post->url, $post->title),
    [
        '@type' => 'BlogPosting',
        '@id' => SchemaIds::forPage($post->url, 'article'),
        'headline' => $post->title,
        'datePublished' => $post->published_at->toIso8601String(),
        'dateModified' => $post->revised_at->toIso8601String(),
        'mainEntityOfPage' => ['@id' => SchemaIds::forPage($post->url, 'webpage')],
        'author' => ['@id' => SchemaIds::forPage($post->author->url, 'person')],
        'publisher' => ['@id' => SchemaIds::organization()],
    ],
    SchemaGraph::person($post->author),
];

$schema = ['@context' => 'https://schema.org', '@graph' => $graph];
```

`SchemaGraph` and `SchemaIds` are your own classes: each method returns the array of one entity with its `@id`. Serialize `$schema` with `json_encode` and `JSON_HEX_TAG` in the layout. The `spatie/schema-org` package also provides a `Graph` object that groups typed entities.

### Next.js

Versions: Next.js 15 and 16 (App Router).

Same structure: a module exposes the shared entities, each page composes its graph.

```tsx
import { schemaIds } from '@/lib/schema-ids';

const graph = {
  '@context': 'https://schema.org',
  '@graph': [
    organizationNode,
    websiteNode,
    {
      '@type': 'Product',
      '@id': schemaIds.page(`/produits/${product.slug}/`, 'product'),
      name: product.name,
      brand: { '@type': 'Brand', name: product.brand },
      offers: {
        '@type': 'Offer',
        price: product.price,
        priceCurrency: 'EUR',
        seller: { '@id': schemaIds.organization },
      },
    },
  ],
};
```

`organizationNode` and `websiteNode` are the full objects for the organization and the website, defined once in the shared module. Render the graph in a single `<script type="application/ld+json">` tag with `JSON.stringify(graph).replace(/</g, '\\u003c')`.

### Nuxt

Versions: Nuxt 4 (same code on Nuxt 3, end of life since July 2026), Nuxt Schema.org module 6 or 7 (version 7 requires Nuxt 4.6 or later).

The Nuxt Schema.org module automatically connects the organization or person declared as the site's identity, the website and the current page. Add page entities with its dedicated functions (article, product, breadcrumb) in the page: they are attached to the existing graph.

## Common mistakes

- **Author as plain text** (`"author": "Jeanne Martin"`) when an author page exists.
- **Organization described several times** with different names or logos instead of being referenced.
- **References to entities missing from the page**: an `@id` that points to nothing defined.
- **Two competing graphs**: the SEO plugin and the theme each publish their own organization and website, with different `@id` values.
- **False relationships**: `worksFor` pointing to the organization for a guest author, `manufacturer` for a mere reseller. Declare only real relationships.
- **`mainEntityOfPage` and `mainEntity` swapped**: the article's `mainEntityOfPage` is the page; the page's `mainEntity` is the article.
- **Connected graph not aligned with the text**: the marked-up author is not the one who signs the visible article.

## Frequently asked questions

### Is it better to nest entities or use @graph?

Both are valid and Google understands both. Nesting suits page-specific entities, such as an offer inside a product. A @graph array with references by @id is better for shared entities, such as the organization, the website or the author, described once and cited several times. On a full site, a single @graph per page is often the most readable and the easiest to maintain.

### Should the organization be repeated on every page?

Yes, at least in a short form, whenever an entity on the page references it. Nothing guarantees that a search engine will resolve an @id reference to an entity described only on another page. SEO plugins such as Yoast publish the full graph on every page for that reason. Keep exactly the same @id and the same values everywhere, so that it really is a single organization.

### Does connecting entities help you appear in AI answers?

No generative engine documents using schema.org relationships to choose its sources or citations. Connecting author, organization and content makes clear who publishes and who writes, which helps search engines and is consistent with expertise signals. For AI assistants, what matters is that these relationships are also readable in the text: byline, author page, about page, mentions on other sites.

## Resources

- [Google Search Central: General structured data guidelines (multiple items)](https://developers.google.com/search/docs/appearance/structured-data/sd-policies?hl=en)
- [Google Search Central: Author markup best practices for articles](https://developers.google.com/search/docs/appearance/structured-data/article?hl=en)
- [W3C: JSON-LD 1.1](https://www.w3.org/TR/json-ld11/)
- [Yoast: Schema graph technology approach](https://developer.yoast.com/features/schema/technology-approach/)
- [schema.org: WebPage](https://schema.org/WebPage), [Article](https://schema.org/Article) and [Organization](https://schema.org/Organization)

Next steps: [provide relevant sameAs links](https://checklist-seo-geo.com/en/schemaorg-structured-data/provide-relevant-sameas-links), [specify authors, publisher, dates and images](https://checklist-seo-geo.com/en/schemaorg-structured-data/specify-authors-publisher-dates-images) and [link authors to the organization](https://checklist-seo-geo.com/en/entity-seo-digital-identity/link-authors-organization).
