- From: Steven Pemberton <steven.pemberton@cwi.nl>
- Date: Thu, 18 Sep 2008 17:04:45 +0200
- To: "Sergey Chernyshev" <rdfa.info@antispam.sergeychernyshev.com>, public-rdf-in-xhtml-tf@w3.org
On Thu, 18 Sep 2008 16:56:51 +0200, Sergey Chernyshev <rdfa.info@antispam.sergeychernyshev.com> wrote: > On Thu, Sep 18, 2008 at 10:42 AM, Steven Pemberton > <steven.pemberton@cwi.nl>wrote: > >> On Thu, 18 Sep 2008 16:21:42 +0200, Sergey Chernyshev <rdfa.info@ >> antispam.sergeychernyshev.com> wrote: >> >> Great! I didn't know that. I wonder if RDFa clients are interpreting it >>> appropriately? >>> >> >> What could they do wrong? > > > They can ignore it ;) > > I made the change, but official RDFa parser didn't pick up this official > syntax: > http://www.w3.org/2007/08/pyRdfa/extract?uri=http%3A%2F%2Fwww.sergeychernyshev.com%2Fprofile%2F%3F Oops, sorry, my mistake, I mistyped. If you follow the link you will see it is rel="alternate" not rel="alternative" Steven > > I'll leave both for now - maybe I'll try having HTML links in the head as > <link rel="alternative" lang="ru" href="./?lang=ru"/> instead of <a> > tags in > the body. > > >> to have have both rel="alternative" and rel="rdfs:seeAlso". >>> >> BTW, it's an example when duplication of code is necessary - same links >> need >> >> I was going to suggest using owl:sameas ( >> http://www.w3.org/TR/owl-ref/#sameAs-def) between xhtmlvocab:alternative >> and rdfs:seeAlso but then I see: >> >> "The property rdfs:seeAlso specifies a resource that might provide >> additional information about the subject resource." >> http://www.w3.org/TR/2000/CR-rdf-schema-20000327/#s2.3.4 >> >> I think this is different to a page that supplies the equivalent page >> in a >> different language. It is not additional information, but the same >> information in a different language. So I think rel="alternative" >> really is >> the correct relation, and rdfs:seeAlso would be misleading. > > > Not really - document in another language doesn't mean that it's exactly > the > same data - compare the length of these two pages: > > - http://en.wikipedia.org/wiki/Resource_Description_Framework > - http://ru.wikipedia.org/wiki/Resource_Description_Framework > > So I think both "alternative document in another language" and "document > with additional information in another language" are applicable in this > scenario. > > In any case making owl:sameas between xhtmlvocab:alternative and > rdfs:seeAlso is not a good thing as it'll merge too much stuff together. > > Best wishes, >> >> Steven >> >> >> Sergey >>> >>> >>> On Thu, Sep 18, 2008 at 8:59 AM, Steven Pemberton >>> <steven.pemberton@cwi.nl>wrote: >>> >>> Helly Sergey, >>>> >>>> On Mon, 15 Sep 2008 23:46:22 +0200, Sergey Chernyshev <rdfa.info@ >>>> antispam.sergeychernyshev.com> wrote: >>>> >>>> One of the goals of the project is to make it easy to create profiles >>>> with >>>> >>>>> lables and stuff in multiple languages, another goal is to have RDFa >>>>> support >>>>> for it. I approached this by creating pages for each language >>>>> (substituted >>>>> with values in default language if language-specific labels are not >>>>> defined) >>>>> and interlinked them with rdfs:seeAlso links so english page, for >>>>> example >>>>> has >>>>> >>>>> <a rel="rdfs:seeAlso" href="?lang=ru">ru</a> >>>>> >>>>> if russian version also exists. >>>>> >>>>> >>>> Actually HTML and XHTML already have a notation for this: >>>> >>>> <a rel="alternative" href="?lang=ru" hreflang="ru">ru</a> >>>> >>>> http://www.w3.org/TR/html401/types.html#type-links >>>> >>>> So while your version may well be OK, that is the official way to do >>>> it. >>>> >>>> Best wishes, >>>> >>>> Steven Pemberton >>> >>>
Received on Thursday, 18 September 2008 15:05:31 UTC