- From: Niklas Lindström <lindstream@gmail.com>
- Date: Sun, 20 Jan 2013 22:52:29 +0100
- To: Adrian Pohl <pohl@hbz-nrw.de>
- Cc: "public-schemabibex@w3.org" <public-schemabibex@w3.org>
Nice! I just fixed some minor HTML syntax issues, and also changed the full URL in the first @typeof to just the term "Book" (which, like the second @typeof="Identifier", is bound to the given @vocab="http://schema.org/"). (Also verified the output with the latest RDFLib.) Cheers, Niklas On Sun, Jan 20, 2013 at 10:31 PM, Adrian Pohl <pohl@hbz-nrw.de> wrote: > I started to work on your Notation3 example before having read this thread to the end. While being at it I put Ivan's example into the wiki. [1] But I left out the schema:publisher truple as this wasn't part of the original example and doesn't make sense. > > > - Adrian > > > [1] http://www.w3.org/community/schemabibex/wiki/Identifier-2 > >>>> Karen Coyle <kcoyle@kcoyle.net> 20.01.13 16.40 Uhr >>> > No surprise that my examples suck :-) Should I substitute these for > mine? That's fine with me. > > kc > > On 1/19/13 11:19 PM, Ivan Herman wrote: >> 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> >> <l!nk 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 >> >> >> >> >> > > -- > Karen Coyle > kcoyle@kcoyle.net http://kcoyle.net > ph: 1-510-540-7596 > m: 1-510-435-8234 > skype: kcoylenet > > > > >
Received on Sunday, 20 January 2013 21:53:27 UTC