W3C home > Mailing lists > Public > public-vocabs@w3.org > November 2011

Schema.org has INTENDED types

From: Adrian Giurca <giurca@tu-cottbus.de>
Date: Sun, 06 Nov 2011 08:33:09 +0100
Message-ID: <4EB63835.80204@tu-cottbus.de>
To: "public-vocabs@w3.org" <public-vocabs@w3.org>
Hi all,
Looking to understand property values defined by Schema.org I found the 
vocabulary does not allow multiple inheritance i.e., each type has 
exactly one parent.

I have an issue when is about establishing a value for a property that 
has an "intended type". The below example shows three cases when a 
http://schema.org/Person is described (Rob Marshall,  Penelope Cruz, Ian 
McShane). All cases define a objects ( itemscope)  of type 
http://schema.org/Person i.e., the content should be a person 
description (object description). However, seems that there are many 
ways to annotate:

- Rob Marshall is a Person described using plain text
- Penelope Cruz is a Person described by means of the url property 
(inherited from Thing)
- Ian McShane is a Person described by means of the name property 
(inherited from Thing).

1. Are all these descriptions valid?
2. Is it valid to use an incomplete object description (as for Penelope 
Cruz and  Ian McShane )?
3. When is plain text is the responsibility of schema.org processor to 
derive a (possibly incomplete) http://schema.org/Person description?

<div itemscope itemtype="http://schema.org/Movie">

  <h1 itemprop="name">Pirates of the Carribean: On Stranger Tides (2011)</h1>

  Director:

   <div itemprop="director" itemscope itemtype="http://schema.org/Person">Rob Marshall</div>

  Actors:

  <div itemprop="actors" itemscope itemtype="http://schema.org/Person">

   <a href="http://en.wikipedia.org/wiki/Penelope_Cruz" itemprop="url">Penelope Cruz</a>

  </div>

  <div itemprop="actors" itemscope itemtype="http://schema.org/Person">
    <span itemprop="name">Ian McShane</span>
  </div>
</div>


It will be great  if someone can explain more.

Sincerely yours,
Adrian Giurca
Received on Sunday, 6 November 2011 07:33:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 06:48:57 GMT