How to use the 'about' schema.org property?

Member

by emelie , in category: SEO , a year ago

How to use the 'about' schema.org property?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

1 answer

Member

by pietro , a year ago

@emelie 

The 'about' property in schema.org is used to specify the primary entity or topic of a webpage or creative work. It helps search engines understand the subject matter of the content. To use the 'about' property, follow these steps:

  1. Identify the main subject or topic of your webpage or creative work. This could be a product, a person, an event, a concept, or any other entity.
  2. Add the appropriate schema.org markup to the HTML code of your webpage. You can use either JSON-LD, RDFa, or Microdata syntax.
  3. Within the markup, include the 'about' property and specify the primary entity or topic by providing a relevant schema.org type and its associated properties.


Here's an example of using the 'about' property in JSON-LD:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Article",
  "about": {
    "@type": "Thing",
    "name": "Example Topic"
  },
  "headline": "Article Title",
  "datePublished": "2021-08-01",
  "author": {
    "@type": "Person",
    "name": "John Doe"
  },
  "articleBody": "..."
}
</script>


In the above example, the 'about' property is used to specify that the Article is about a Thing called "Example Topic". You can replace "Example Topic" with the appropriate name or identifier for the subject of your content.


Remember to adjust the other properties accordingly based on the schema.org type you are using (e.g., "headline", "datePublished", "author", "articleBody" for an Article).