about, mentions and subjectOf
Three schema.org properties connect content to the things it discusses. about gives "the subject matter of an object," mentions marks a reference to a concept the work "is not necessarily about," and subjectOf points the other way, from a thing to "a CreativeWork or Event about this Thing."[1][2][3] Schema.org declares subjectOf the inverse of about.[3] Google's structured data documentation does not list any of the three as a required or recommended property for a search feature, so this page describes what they mean rather than any search effect.[4]
Definitions
| Property | Expected values | Schema.org definition (quoted) |
|---|---|---|
| about | Thing | "The subject matter of an object."[1] |
| mentions | Thing | "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept."[2] |
| subjectOf | CreativeWork, Event | "A CreativeWork or Event about this Thing."[3] |
| mainEntity | Thing | "Indicates the primary entity described in some page or other CreativeWork."[5] |
mainEntity is included because schema.org makes it a sub-property of about: the main entity of a work is always also something the work is about.[5] See mainEntity and mainEntityOfPage.
about
about states the topic. Its domain includes CreativeWork and Event (and a few other types), and its value can be any Thing.[1] Schema.org's background notes explain how it differs from mainEntity: "about can refer to multiple entities/topics, while mainEntity should be used for only the primary one." They add that when a page's primary entity itself describes something else, such as a news article about a person, "mainEntity for the pages should refer to the news article or review, respectively, while about would more properly refer to the person or product."[6]
Schema.org's example on the about page marks an Article whose about value is an Event.[1] On a business website the same structure fits a service page whose WebPage node is about the Service, or a blog post about a city or a technique. The value can be a full node, a reference by @id, or a node with a sameAs link that identifies an external entity, such as a Wikidata item.[7][8]
mentions
mentions is weaker. Schema.org defines it as indicating "that the CreativeWork contains a reference to, but is not necessarily about a concept."[2] A guide to water heaters that names a manufacturer, a building code and a city mentions all three without being about them. Using mentions for those passing references keeps about for the real topic.
Because the property has no Google feature, there is no documented benefit to long mentions lists. Google's general guidelines still apply: markup must be "a true representation of the page content," so each mentioned thing should be named on the page.[9]
subjectOf
subjectOf is defined on Thing, so any entity can use it, and its value is a CreativeWork or Event.[3] It is the inverse of about: if an article is about an organization, the organization is subjectOf the article.[3][1] In JSON-LD, the same relation can be written from either side; the specification's @reverse keyword can also express a reverse property without a separate vocabulary term.[10]
A business can use subjectOf on its Organization node to point to a news story, a case study or a video about it, and an event series can point to its press coverage. The target should actually be about the subject, which is the meaning of the inverse.
Common mistakes
- Listing every keyword under about. about is for subject matter; passing references belong in mentions.[1][2]
- Using about for the page's own publisher. The publisher has its own property; see author and publisher.[11]
- Text where an entity is meant. about expects a Thing. A plain string loses the link that sameAs or @id would carry.[1]
- subjectOf pointing to unrelated works. Because subjectOf is the inverse of about, the target must be about the thing.[3]
- Marking up things the page never mentions. Google's guidelines exclude markup for content not visible to readers.[12]
Example
A fictional blog post about a service, mentioning a city and a standard. The city is identified with a placeholder Wikidata URL.
{
"@context": "https://schema.org",
"@type": "BlogPosting",
"@id": "https://www.example.com/blog/tankless-guide#article",
"headline": "A guide to tankless water heaters",
"about": { "@id": "https://www.example.com/water-heaters#service" },
"mentions": [
{ "@type": "City", "name": "Exampleville", "sameAs": "https://www.wikidata.org/wiki/Q00000000" },
{ "@type": "CreativeWork", "name": "Exampleville plumbing code" }
],
"publisher": { "@id": "https://www.example.com/#organization" }
}
Common questions
What is the difference between about and mentions?
about is the subject matter; mentions is a reference the work "is not necessarily about."[1][2]
Is subjectOf the same as about?
It is the inverse: about runs from the work to the thing; subjectOf runs from the thing to the work.[3]
Does Google use about for a rich result?
Google documents no search feature that requires or recommends about.[4]
Related topics
- mainEntity and mainEntityOfPage
- Entity graphs on business websites
- hasPart and isPartOf
- citation and isBasedOn
References
- ^ "about (property)". Schema.org.
- ^ "mentions (property)". Schema.org.
- ^ "subjectOf (property)". Schema.org.
- ^ "Structured data markup that Google Search supports (search gallery)". Google Search Central.
- ^ "mainEntity (property)". Schema.org.
- ^ "Data model: background notes on mainEntity(OfPage) and identifier". Schema.org.
- ^ "sameAs (property)". Schema.org.
- ^ "JSON-LD 1.1, section 4.5 Embedding". World Wide Web Consortium (W3C).
- ^ "General structured data guidelines". Google Search Central.
- ^ "JSON-LD 1.1: A JSON-based Serialization for Linked Data (W3C Recommendation, 16 July 2020)". World Wide Web Consortium (W3C).
- ^ "publisher (property)". Schema.org.
- ^ "Introduction to structured data markup in Google Search". Google Search Central.