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

Re: Schema.org External Enumerations mechanism

From: Dan Brickley <danbri@danbri.org>
Date: Tue, 8 May 2012 18:01:37 +0200
Message-ID: <CAFfrAFq+vPVpZDZ1PmP65POFx_XTyvsUjTquO9DkZ9gnuYh_9Q@mail.gmail.com>
To: Guha <guha@google.com>, Danny Ayers <danny.ayers@gmail.com>, public-vocabs@w3.org
On 25 April 2012 02:17, Guha <guha@google.com> wrote:
> After some discussion, etc., here is the next version of the proposal:
>
>  The canonical urls that Schema.org recommends for use will the urls for the
> entities on the reference sites (wikipedia, freebase, nist, etc.) When these
> reference sites add new entities (such as South Sudan as a new country),
> webmasters can immediately start using them.
>
>  In addition, to make the common use case much easier, Schema.org will
> provide documentation pages that list the entities (and their external
> urls), along with the caveat that the external entity is the primary source.

http://www.w3.org/wiki/WebSchemas/ExternalEnumerations is updated
again, with some more detail:

 * external enumeration of property values will require schema.org to
have a suitable 'expected type', beyond mere 'Text'
 * this means that properties like 'nationality' and 'addressCountry'
are ready, since they expect 'Country' already.
 * it means that cases like 'servesCuisine' and 'recipeCuisine', which
expect currently just 'Text', will need a new type.
 * we retain the idea of keeping a set of known authority sites /
dataset, like Wikipedia etc.
 * we emphasize that, even if these sites publish structured data
couched in terms of classes/types, for us they're simply lists of
identifiers
 * we leave the sub-types as enumerations topic for future exploration.

The doc also tries to avoid classic ratholes topics like "What's the
url for a country, vs a page for it", in the hope that consensus can
emerge organically. So 'http://en.wikipedia.org/wiki/United_States' is
the link for that country in the example.

The doc has Microdata examples, and shows a version where values are
simple links, e.g.

    <link itemprop="nationality"
href="http://en.wikipedia.org/wiki/United_States"/>

... as well as a flavour where the item is described inline in some
detail, as well as identified by itemid:

    <div itemprop="nationality" itemscope
itemid="http://www.fao.org/countryprofiles/index.asp?lang=en&iso3=USA"
itemtype="http://schema.org/Country">
        <span itemprop="name">United States of America</span>
    </div>

cheers,

Dan



ps. If an RDFa WG member would care to help with some RDFa 1.1 Lite
versions of the examples for an appendix, that would be great.
Received on Tuesday, 8 May 2012 16:02:08 GMT

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