W3C home > Mailing lists > Public > public-vocabs@w3.org > September 2012

Re: new itemscope or not?

From: Ed Summers <ehs@pobox.com>
Date: Fri, 7 Sep 2012 14:10:31 -0400
Message-ID: <CABzDd=7Bx4_dO9j0gd-oRS-6Ltjo=9kjQ7y8Kc_Q8nKZO1RbNg@mail.gmail.com>
To: "Dawson, Laura" <Laura.Dawson@bowker.com>
Cc: Cord Wiljes <cwiljes@cit-ec.uni-bielefeld.de>, "public-vocabs@w3.org" <public-vocabs@w3.org>
On Fri, Sep 7, 2012 at 10:47 AM, Dawson, Laura <Laura.Dawson@bowker.com> wrote:
> This is music to my ears. It seems inevitable that more identifiers are going to prove to be critical components of Schema. There is a public entity name ID (ISNI) that would be helpful to differentiate & collocate names; there is a similar identifier in the STM world called the ORCID (which is interoperable with ISNI and in fact may actually really BE an ISNI, as they've been allocated for ORCID); there is a text ID (ISTC) that identifies text independent of format; there is of course the ISBN; there is the ISRC, which identifies recordings; there is the ISAN, which identifies addresses. And there is the DOI, which identifies links themselves.
>
> I've been talking a little with Richard Wallis about the inclusion of identifiers in Schema - there are a couple of models. One of these is to have a separate class of objects called "identifiers"; the other is to have the identifiers as attributes in the schemas themselves. I'm leaning towards the former simply because a thing can have more than one identifier (a book, for example, can have an ISBN and an ISTC; an author can have an ISNI and an ORCID), and a relational model may be more flexible.

One thing that Cord pointed out is that HTML Microdata already has a
mechanism for saying when a given entity (author, etc) has an
identifier: the itemid attribute.

So for example:

<div itemscope itemtype ="http://schema.org/Book">
  <span itemid="http://en.wikipedia.org/wiki/William_Shakespeare">itemprop="author"
itemscope itemtype="http://schema.org/Person">
    <span itemprop="name">Shakespeare, William</span>
  </span>
</div>

I'd encourage you to try using it before defining an Identifier class,
or including them in all the schemas that could potentially have an
identification mechanism (probably most of them).

//Ed
Received on Friday, 7 September 2012 18:10:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 September 2012 18:10:59 GMT