- From: Ivan Herman <ivan@w3.org>
- Date: Sun, 20 Jan 2013 15:19:17 +0800
- To: kcoyle@kcoyle.net
- Cc: "public-schemabibex@w3.org" <public-schemabibex@w3.org>
- Message-Id: <DA96BC5A-10C0-4D95-9304-AD978FECBD39@w3.org>
Karen, the example is not RDFa but microdata... Which is per se o.k., but the microdata->RDF conversion will not create a blank node when it sees a @itemprop="identifier/name" construct. Nor will RDFa, for that matter. The result with RDFa will be something like (I just mechanically created an RDFa file and ran it through my converter): @prefix ns1: <http://schema.org/identifier/> . @prefix schema: <http://schema.org/> . [] a schema:Book; schema:author "Claude-Michel Schonberg, Alain Boublil, and Herbert Kretzmer."; schema:bookFormat schema:Paperback; schema:by "Hal Leonard "; schema:description "For Piano/Vocal. Vocal Selections. "; ns1:issued "Hal Leonard "; ns1:name "HL.114335"; schema:name "Les Miserables. (Selections from the Movie)."; schema:numberOfPages " 88 pages."; schema:publisher " Published by Hal Leonard " . which is not what you would expect:-( To do it right in HTML+RDFa (but, I would think, in microdata as well, it is just that I am more 'fluent' in RDFa) one has to something like <html><body> <div vocab="http://schema.org/" typeof="http://schema.org/Book"> <span property="name">Les Miserables. (Selections from the Movie).</span> by <span property="author" >Claude-Michel Schonberg, Alain Boublil, and Herbert Kretzmer.</span> <span property="description">For Piano/Vocal. Vocal Selections. </span> <link property="bookFormat" href="http://schema.org/Paperback">Softcover</a>. <span property="numberOfPages"> 88 pages.</span> <span property="publisher"><span property="identifier" typeof="Identifier"><span property="issuedBy">Hal Leonard</span>, (<span property="name">HL.114335</span>)</span></span> </body></html> yielding [] a schema:Book; schema:author "Claude-Michel Schonberg, Alain Boublil, and Herbert Kretzmer."; schema:bookFormat schema:Paperback; schema:description "For Piano/Vocal. Vocal Selections. "; schema:identifier [ a schema:Identifier; schema:issuedBy "Hal Leonard"; schema:name "HL.114335" ]; schema:name "Les Miserables. (Selections from the Movie)."; schema:numberOfPages " 88 pages."; schema:publisher "Hal Leonard, (HL.114335)" . Which is not exactly the same, b.t.w., because the publisher field will also include the identifier stuff... Sorry...:-) Ivan On Jan 20, 2013, at 24:44 , Karen Coyle <kcoyle@kcoyle.net> wrote: > I have added a second identifier proposal [1], much simpler than the first (and possibly too simple -- it is a first draft). > > kc > [1] http://www.w3.org/community/schemabibex/wiki/Identifier-2 > -- > Karen Coyle > kcoyle@kcoyle.net http://kcoyle.net > ph: 1-510-540-7596 > m: 1-510-435-8234 > skype: kcoylenet > ---- Ivan Herman, W3C Semantic Web Activity Lead Home: http://www.w3.org/People/Ivan/ mobile: +31-641044153 FOAF: http://www.ivan-herman.net/foaf.rdf
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Sunday, 20 January 2013 07:19:47 UTC