RE: namespace question

-----Original Message-----
From: Brian McBride [mailto:bwm@hplb.hpl.hp.com]
Sent: Tuesday, April 02, 2002 2:30 PM
To: Tim Sebel (by way of "Ralph R. Swick" <swick@w3.org>);
www-rdf-comments@w3.org
Subject: Re: namespace question

>If this is true of RDF and RDFS then its probably a mistake.  Neither the
>RDF or the RDFS namespaces have changed in a while.  DAML has been through
>a number of versions and the namespace changed as it evolved.  This is
>correct behaviour.

yeah, you're right, it is just DAML

>One trick, favoured by some and not by others is to use entities, e.g.
>define an entity &rdf; to correspond to the namespace uri reference and use
>that wherever the namespace might be used.
>
>An issue with this approach is that entities are a dtd concept and some
>folks favour the obsolesence of dtd's.   By the time that happens there is
>a good chance that RDF will have been extended to accept qnames in
>attribute values, so a simple search and replace should fix that.

thanks, I'll look into that

>>Am I going to need to alter them throughout our ontology?
>>
>>I was considering creating a schema that points to the relevant URLs
outside
>>our ontology and then referencing the new schema everywhere else.
>
>I'm not sure I see how that would work.

Yeah, that wasn't very clear (trying to get the original message out before
lunch). What I meant was to create a schema that mimics the
structure/content of DAML much like DAML does from rdfs:

<rdfs:Class rdf:ID="Class">
  <rdfs:label>Class</rdfs:label>
  <rdfs:comment>
    The class of all "object" classes
  </rdfs:comment>
  <rdfs:subClassOf
rdf:resource="http://www.w3.org/2000/01/rdf-schema#Class"/>
</rdfs:Class>

That way, I would have my own concept of "Class" that would be identical to
DAML's concept. If there are changes in the "outside world" there would only
be one place I would need to change URLs.

Is there a reason not to do that?


tim sebel

Enleague's Systems

Received on Tuesday, 2 April 2002 14:59:01 UTC