seo,semantic-web,schema.org,microdata,google-rich-snippets , Child properties of Schema.org property


Child properties of Schema.org property

Question:

Tag: seo,semantic-web,schema.org,microdata,google-rich-snippets

I've been trying to figure out this riddle from a day now. Lets say that we have a TV Episode as following,

<main itemscope itemtype="https://schema.org/TVEpisode">
    <h1>
      <a itemprop="url" href="self.html">
          Pokemon - <span itemprop="episodeNumber">88</span>
      </a>
    </h1>
    <h2 itemprop="name">In the Pink</h2>
    <p>Source: <span itemprop="partOfSeries">Pokemon</span>
               <span itemprop="partOfSeason">Orange Islands</span>
    </p>
</main>

Now the problem here is that I'm unable to add the 'sameAs' property of 'partOfSeries' here. If I add an anchor with 'sameAs' property inside 'partOfSeries', Google Structured-data Testing Tool says it cant find the sameAs property. And I don't know anyway else to do it. The same is correct for 'seasonNumber' which is a child of 'partOfSeason'. If you could help out with the 'potentialAction' property too, that would be awesome. Thank you


Answer:

The partOfSeason property expects a value of the Season type.
The partOfSeries property expects a value of the Series type.
You are giving a text value in both cases.

This is not wrong (just not recommended), but with a text value it’s not possible to give additional data about the season/series.

In the Microdata syntax, you’d have to create a new item with the itemscope attribute and give its type with the itemtype attribute:

<span itemprop="partOfSeries" itemscope itemtype="http://schema.org/Series">
  <span itemprop="name">Pokemon</span>
</span>

<span itemprop="partOfSeason" itemscope itemtype="http://schema.org/Season">
  <span itemprop="name">Orange Islands</span>
</span>

(Because simple text inside of an item is not considered to be a Microdata value, you have to use a property for everything you want to associate with the item, i.e, Schema.org’s name in this case.)

Now you can add additional properties that only apply to their parents (Series/Season), not to the TVEpisode:

<span itemprop="partOfSeries" itemscope itemtype="http://schema.org/Series">
  <span itemprop="name">Pokemon</span>
  <link itemprop="sameAs" href="http://en.wikipedia.org/wiki/Pok%C3%A9mon_%28anime%29"/>
</span>

<span itemprop="partOfSeason" itemscope itemtype="http://schema.org/Season">
  <span itemprop="name">Orange Islands</span>
  <link itemprop="sameAs" href="http://en.wikipedia.org/wiki/List_of_Pok%C3%A9mon:_Adventures_on_the_Orange_Islands_episodes"/>
</span>

Side notes about your example:


Related:


Storing separately individuals and ontology in sesame store


sparql,semantic-web,sesame
I have an ontology that I imported in a sesame repository. I want to add individuals for the classes that are defined in my ontology. Is it possible to add the individuals into another repository and not in the one that has stored the ontology? If this is possible how...

si​tem​ap-​tax​-po​st_​tag​.xm​l not found - webmaster tools


wordpress,seo
I'm a newbie in webmaster tools. I get 3 errors in webmaster tools: 1.2: We encountered an error while trying to access your Sitemap. Please ensure your Sitemap follows our guidelines and can be accessed at the location you provided and then resubmit. *General HTTP error: 404 not found Sitemap:...

google analytics code on landing page and cookie law


jquery,google-analytics,seo
New EU cookie law do not allow page to set cookies on first load and until user make any action, scroll is consider as implicit acceptance I'm not sure if ga('set', 'anonymizeIp', true); is enough to allow google analytics to be considered as non profiling cookie how can i activate...

Heading order in HTML5


html5,seo,semantic-markup
This is a webpage example of my site: <html> <title> artilce header </title> <body> <header> <h1> nme of website</h1></header> <section> <h2> name of section</h2> <article> <h3>article header</h3> </article> </section> </body> </html> I want to know if this order is correct? Or does it maybe have a bad effect on SEO?...

How to “remove” indexed pages in Google and AngularJS


angularjs,nginx,seo,google-index
I have an AngularJS 1.0.7 web application. Some months ago I sent a sitemap.xml file to Google, so the urls are indexed. Now, I would like to upload a new sitemap file with some updates on those URLs. I mean, the pages are the same but the urls have changed...

Schema.org mandatory fields and the time needed until Google shows changes


seo,schema.org,google-rich-snippets
I have implemented Schema.org (using Microdata) inside my product pages and when I check Google Webmaster Tools it is crawled by Googlebot and interpreted successfully. The point is I have not implemented some properties inside Product type like brand. I need to know whether there is some subset of all...

How do I retain search engine accessibility when loading external file into html


javascript,jquery,html,seo,cross-platform
I plan to: $('#main.sidecontent').load('/sidecontent.html'); and insert: <div class="sidecontent" id="main"></div> a div on several html pages since the content of this div is the same and I try to straighten my workflow, basically avoiding editing every single html page when this content div changes. My questions: Is this method recommended for...

SEO with single page application


node.js,seo,single-page-application
I built a node.js social networking web site for noders but I get some serious problems to improve my SEO factors. How can I make it SEO friendly? And yes, given that it is a single page app, it is a little harder!

Best JSON-LD practices: using multiple