Get AI SEO for FREE.

Learn More!

How to Add isPartOf Property to Dataset Schema

The isPartOf property in a Dataset Schema is used for defining relationships between datasets. In this knowledgebase article, we will walk you through how to add isPartOf property to Dataset Schema using Rank Math.

isPartOf vs hasPart

If the dataset you’re defining in a post has a collection of smaller datasets, then the hasPart property is used for defining the relationship.

On the other hand, if the dataset you’re defining is a part of a larger dataset, then the isPartOf property is used for defining the relationship.

To demonstrate in a simple way,

Smaller dataset isPartOf → Larger dataset

Larger dataset → hasPart → Smaller dataset

In this tutorial, we will choose an example, with a dataset of global internet users and regional internet users and how you can add the Dataset Schema for this relationship with Rank Math.

How to Add isPartOf with Rank Math

To add the isPartOf property with Rank Math, you can use Rank Math’s Advanced Schema Editor, available in the Rank Math PRO version.

1 Edit Post or Page

Open the post or page where you want to add the isPartOf property.

Edit post or page

2 Open Rank Math in Gutenberg Editor

In the Gutenberg Editor, click the Rank Math SEO icon in the top right corner of the page.

Click Rank Math SEO icon in Gutenberg Editor

3 Open Schema Generator

In the Rank Math Meta Box, click the Schema tab and then choose Schema Generator.

Click on Schema Generator

4 Choose Dataset Schema

From the list of available Schema types, click Use against the Dataset Schema.

Click Use on Dataset Schema

5 Configure Dataset Schema

In the Schema Builder, you can find a number of options available for configuring Dataset Schema. Here is a detailed guide that would help you configure all the fields.

Configure all the fields, except the Dataset fields, as it would add the hasPart property.

Configure Dataset Schema

6 Open Advanced Editor

Once you’ve added the data in the Schema Builder fields, click the Advanced Editor option at the bottom of the page.

Open Advanced Editor

7 Add isPartOf Property

Now in the Advanced Editor, add the isPartOf property details (use Add Property and Add Property Group options for creating new fields).

Here is an example, where we’ve added the Global Internet Users (larger dataset) as isPartOf using Dataset Schema.

isPartof Property

8 Save Schema for this Post

Once you’ve added Schema, click the Save for this Post.

Save for this Post

Now update the post as you would normally do, or if it is a new post, click Publish and then check the generated Schema Markup. Here is an example of the generated Schema Markup.

isPartOf property group in dataSet Schema

How to Add hasPart Property with Rank Math?

The default Dataset Schema type available at Rank Math adds the hasPart property, which lets you define the dataset as a collection of a number of larger datasets.

To add the hasPart property for Dataset Schema with Rank Math, you can follow the exact steps discussed below.

1 Edit Post or Page

Open the post or page where you want to add the hasPart property.

Edit post or page

2 Open Rank Math in Gutenberg Editor

In the Gutenberg Editor, click the Rank Math SEO icon in the top right corner of the page.

Click Rank Math SEO icon in Gutenberg Editor

3 Open Schema Generator

In the Rank Math Meta Box, click the Schema tab and then choose Schema Generator.

Click on Schema Generator

4 Choose Dataset Schema

From the list of available Schema types, click Use against the Dataset Schema.

Click Use on Dataset Schema

5 Configure Dataset Schema

To configure the individual fields in our Dataset Schema, you can refer to our dedicated guide. For the hasPart property to be included, make sure to add the DataSets field.

More Datasets can be added by clicking the Add Property Group.

Add property group

6 Save Changes

Once you’ve filled in the data, click the Save for this Post button for the changes to reflect.

Save for this Post - Dataset Schema

Here is the generated Schema Markup with hasPart property.

hasPart property in DataSet Schema

And, that’s it! We hope the tutorial was helpful in adding the isPartOf property. If you still have absolutely any questions, please feel free to reach our support team directly from here, and we’re always here to help.

Still not using Rank Math?

Setup takes less than 5 minutes including the import from your old SEO Plugin!

Learn more about the PRO Version

Still need help?

?

Submit Your Question

Please give us the details, our support team will get back to you.

Open Ticket

Related Articles