W3C home > Mailing lists > Public > www-webont-wg@w3.org > September 2002

RE: Lang: owl:ontolgy

From: Jeremy Carroll <jjc@hplb.hpl.hp.com>
Date: Fri, 13 Sep 2002 14:14:47 +0200
To: "Peter F. Patel-Schneider" <pfps@research.bell-labs.com>
Cc: <www-webont-wg@w3.org>

> > DAML+OIL seems to assume that we can hack URIs to see that
> >
> > http://example.org/onto#Potato
> >
> > is defined in
> >
> > http://example.org/onto
> I would be interested in seeing how you come up with this conclusion, and
> where in DAML+OIL it is used.


DAML+OIL appears to be based on the RDF graph, although it has a default
form in XML.

A small ontology looks something like:

  <daml:Ontology rdf:about="" daml:version="1.0">
        An ontology about Potatos.
  <daml:Class rdf:ID="Potato" />

How are we meant to know that the version number has anything to do with the
Potato class?

Particularly if we start with the class ...

(Suppose we have loaded three or four files in).

Well, we have to know which file we loaded "Potato" from, or rather where it
was originally defined. Since we have no explicit information about this, a
moderately robust way to proceed is to look at its URI and remove the
fragment id "#Potato". This will get us down to the document URI, and lo and
behold we can find a version number.

Tracking  "Potato"'s defining file in some other way is awkward given that
it may be merely being mentioned in some other ontology file.


  <daml:Ontology rdf:about="" daml:version="2.0">
        An ontology about Carrots.
  <daml:Class rdf:ID="Carrot" >
    <daml:disjointWith rdf:resource="&otherFile;#Potato"/>

The version 2.0 only applies to Carrots not Potatos.

To answer Peter's question.
With this sort of example I can see a means for getting from Potato to
version 1.0 by URI cracking. I don't feel confident that any other method
would be robust in practice.

Received on Friday, 13 September 2002 08:14:56 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:56:47 UTC