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

Re: Schema.org has INTENDED types

From: John Giannandrea <jgiann@google.com>
Date: Fri, 11 Nov 2011 23:01:25 -0800
Message-ID: <CACMHidKv8r7=ktw_zB8NNK2=uMhLKb9pYoVeDBVV8Upmf1am9w@mail.gmail.com>
To: Adrian Giurca <giurca@tu-cottbus.de>
Cc: "public-vocabs@w3.org" <public-vocabs@w3.org>
schema.org defines that the director of a Movie is expected to be a Person.
  Parsers are free to infer that this is true even if you dont provide the
itemtype.  The key point is that its a new item, and that parsers should
try and interpret that item in the context that was given.

So I would say that if you only provide text, or a Thing/name or a fully
qualified well annotated object it would be clear what do do with the
markup.

-jg



On Sun, Nov 6, 2011 at 12:33 AM, Adrian Giurca <giurca@tu-cottbus.de> wrote:

> 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<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<http://schema.org/Person>">Rob
> Marshall</div>
>
>  Actors:
>
>  <div itemprop="actors" itemscope itemtype="http://schema.org/**Person<http://schema.org/Person>
> ">
>
>  <a href="http://en.wikipedia.org/**wiki/Penelope_Cruz<http://en.wikipedia.org/wiki/Penelope_Cruz>"
> itemprop="url">Penelope Cruz</a>
>
>  </div>
>
>  <div itemprop="actors" itemscope itemtype="http://schema.org/**Person<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, 13 November 2011 20:35:55 GMT

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