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

Re: Author markup question

From: Willem-Siebe Spoelstra <wsspoelstra@gmail.com>
Date: Wed, 4 Sep 2013 12:56:11 +0200
Message-ID: <CAPGOeDsUu4bjzuzcQOOn0hEphR1KTpbJAtK8k2Z0nMwAvh6z4w@mail.gmail.com>
To: Dan Brickley <danbri@danbri.org>
Cc: "public-vocabs@w3.org" <public-vocabs@w3.org>
Hi Dan,

Ok, that is a helpfull answer. Thanks.
What I don't understand is that the examples on schema.org are showing the
short, not strictly correct, examples: a lot of people just do copy and
paste...

Kind regards,

Willem

Op woensdag 4 september 2013 schreef Dan Brickley (danbri@danbri.org):

> On 4 September 2013 11:35, Willem-Siebe Spoelstra <wsspoelstra@gmail.com<javascript:;>>
> wrote:
> > Hi,
> >
> > Why do I see this in examples on schema.org:
> >
> >> <span itemprop="author">Ellie</span>
> >
> >
> > What I don't understand is why this is correct, the expected type is not
> > 'text' but for example 'person'.
> >
> > So the only way this is correct I think is:
> >
> > <span itemprop="author" itemscope itemtype="http://schema.org/Person">
> >
> >   <span itemprop="name">Jane Doe</span>
> > </span>
> >
> > Am I right or wrong here?
>
> Hi. You have the correct intuition here - that the short form is not
> strictly correct, and should more properly be written out in full as
> you show.
>
> Schema.org is a pragmatic effort though, hence
> http://schema.org/docs/datamodel.html
> """ We also expect that often, where we expect a property value of
> type Person, Place, Organization or some other subClassOf Thing, we
> will get a text string. In the spirit of "some data is better than
> none", we will accept this markup and do the best we can."""
>
> Dan
>
Received on Wednesday, 4 September 2013 10:56:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:29:30 UTC