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>


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


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

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


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

It will be great  if someone can explain more.

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:48:43 UTC