W3C home > Mailing lists > Public > www-rdf-interest@w3.org > October 2004

Re: Versioning

From: Charles McCathieNevile <charles@w3.org>
Date: Fri, 8 Oct 2004 22:31:58 -0400 (EDT)
To: Eric Jain <Eric.Jain@isb-sib.ch>
Cc: rdf-interest <www-rdf-interest@w3.org>
Message-ID: <Pine.LNX.4.55.0410082224340.3293@homer.w3.org>

If you look at owl:version you should get some ideas. The question is, as you
note, about modelling things. So if you say that the URI is in version 1 and
version 2 of an ontology, and then note that version 1 of the ontology is not
curated and version 2 is, your merge comes out ok.

Or you can say

<Foo rdf:ID="myFoo">
  <hasVersion>
    <Version>
      <number rdf:value="1"/>
      <curatedP rdf:value="no"/>
    </Version>
  </hasVersion>
  <hasVersion>
    <Version>
      <number rdf:value="2"/>
      <curatedP rdf:value="yes"/>
    </Version>
  </hasVersion>
</Foo>
Dan Connolly wrote about this in the ESW Wiki, calling it
Interpretation Properties - http://esw.w3.org/topic/InterpretationProperties
- although a big chunk of what he was trying to do could happily be done with
rdf datatypes instead.

Cheers

Chaals

On Fri, 8 Oct 2004, Eric Jain wrote:

>
>How do I make statements about a particular version of a resource?
>
>One approach:
>
>File 1:
>
><http://uniprot.org/uniprot/P12345>
>   owl:versionInfo '1'
>   curated 'false'
>
>File 2:
>
><http://uniprot.org/uniprot/P12345>
>   owl:versionInfo '2'
>   curated 'true'
>
>But if this data is merged:
>
><http://uniprot.org/uniprot/P12345>
>   owl:versionInfo '1'
>   owl:versionInfo '2'
>   curated 'false'
>   curated 'true'
>
>Not very useful!
>
>I guess one solution would be to include the version number in the URL,
>e.g. <http://uniprot.org/uniprot/P12345/2> (ugly... any better ideas?).
>
>But what if I wanted to make a statement that applies to
><http://uniprot.org/uniprot/P12345> regardless of the version?
>
>The problem is in part solved by the Life Science Identifier scheme,
>where the version number is a predefined part of the URL, e.g.
>
><urn:lsid:uniprot.org:uniprot:P12345:2>
>
>It is now possible to write software that knows that any statements
>about <urn:lsid:uniprot.org:uniprot:P12345> also apply to
><urn:lsid:uniprot.org:uniprot:P12345:2>.
>
>Any ideas if the same thing could be accomplished with URLs?
>

Charles McCathieNevile  http://www.w3.org/People/Charles  tel: +61 409 134 136
SWAD-E http://www.w3.org/2001/sw/Europe         fax(france): +33 4 92 38 78 22
 Post:   21 Mitchell street, FOOTSCRAY Vic 3011, Australia    or
 W3C, 2004 Route des Lucioles, 06902 Sophia Antipolis Cedex, France
Received on Saturday, 9 October 2004 02:31:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:10 GMT