- From: Tim Moore <fctmoore@hkusua.hku.hk>
- Date: Sat, 19 May 2001 22:12:21 -0400 (EDT)
- To: www-annotation@w3.org
Dear Colleagues, I have tried following these instructions, without success. This is my file in Amaya/config entitled mytypes.rdf: <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> <rdf:Description about="http://www.w3.org/2000/10/MyTypes#"> <rdfs:comment>A namespace for describing types of annotations</rdfs:comment> <rdfs:comment>$Revision: 1.2 $ $Date: 2000/11/03 21:40:17 $</rdfs:comment> <rdfs:seeAlso resource="http://www.w3.org/2000/02/Collaboration/Annotation/papers"/> </rdf:Description> <rdfs:Class rdf:about="http://www.w3.org/2000/10/MyTypes#Kudos"> <rdfs:label xml:lang="en">Kudos</rdfs:label> <rdfs:comment>A class of Annotations representing positive congratulations</rdfs:comment> <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/10/annotation-ns#Annotation"/> <rdfs:isDefinedBy resource="http://www.w3.org/2000/10/MyTypes#"/> </rdfs:Class> </rdf:RDF> This is my revised annot.schemas file: # annot.schemas # # specifies the RDF schemas to be pre-loaded for Annotations # # each line beginning with '#' is a comment # all other non-empty lines must be in one of two formats: # 1. namespacename # 2. namespacename filename # # In case 1, an RDF schema is expected to be found at the namespace URI # In case 2, the filename is expected to be a (local) copy of an RDF # schema for the namespace. The strings $THOTDIR and # $APP_HOME may be used at the beginning of the filename # and will be expanded to the Amaya installation directory # and the user's amaya home directory respectively. # Historical schema presented at WWW9. Obsolete. #http://www.w3.org/1999/xx/annotation-ns# #first release schema; do not change unless you also change the service http://www.w3.org/2000/10/annotation-ns# $THOTDIR/config/annotschema.rdf #some Annotation subclasses that we think will be useful http://www.w3.org/2000/10/annotationType# $THOTDIR/config/annottypes.rdf #to add new types (Tim Moore) http://www.w3.org/2001/05/MyTypes# $THOTDIR/config/mytypes.rdf I'd be grateful for advice. Best wishes, Tim Moore > Re: changing annotation types under Amaya > > From: Jose Kahan (jose.kahan@w3.org) > Date: Mon, May 14 2001 > > *Next message: Jose Kahan: "Re: Typo in "Annotea Protocols" page" > > * Previous message: Tim Moore: "changing annotation types under Amaya" > * In reply to: Tim Moore: "changing annotation types under Amaya" > * Next in thread: Ralph R. Swick: "Re: changing annotation types under Amaya" > * Reply: Ralph R. Swick: "Re: changing annotation types under Amaya" > * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > * Other mail archives: [this mailing list] [other W3C mailing lists] > * Mail actions: [ respond to this message ] [ mail a new topic ] > > ------------------------------------------------------------------------ > > Date: Mon, 14 May 2001 12:24:34 +0200 > From: Jose Kahan <jose.kahan@w3.org> > To: Tim Moore <fctmoore@hkusua.hku.hk> > Cc: www-annotation@w3.org > Message-ID: <20010514122434.B358@inrialpes.fr> > Subject: Re: changing annotation types under Amaya > > Hello Tim, > > On Mon, May 14, 2001 at 03:46:17AM -0400, Tim Moore wrote: > > Help! The Amaya Documentation says something like "We'll explain later > > how users can create their own types." I can't find this explanation, > > or work out what to do. > > You're right. We haven't yet updated this part of the doc, but the work > to do is quite easy. > > First some info... > > The annotation and annotation types RDF schemata are currently stored in the > Amaya/config directory under the names annotschema.rdf and annottypes.rdf. > > As we can't yet dynamically download schemas from the web, we have another > file called annot.schemas that tells Amaya the filenames where we stored > the annotation schemas. This file is also under Amaya/config/ > > Now, if you want to add new annotation types, you'll need to define their > namespace and write their schema. This is quite easy. > > Let's do a new namespace called MyTypes. > > I add the following line to the end of annot.schemas: > > http://www.w3.org/2001/05/MyTypes# $THOTDIR/config/mytypes.rdf > > Then I'll add a new annotation type called "kudos" in mytypes.rdf: > > -------------- > rdf:RDF > xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" > xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"> > > <rdf:Description about="http://www.w3.org/2000/10/MyTypes#"> > <rdfs:comment>A namespace for describing types of annotations</rdfs:comment> > <rdfs:comment>$Revision: 1.2 $ $Date: 2000/11/03 21:40:17 $</rdfs:comment> > <rdfs:seeAlso resource="http://www.w3.org/2000/02/Collaboration/Annotation/papers"/> > </rdf:Description> > > <rdfs:Class rdf:about="http://www.w3.org/2000/10/MyTypes#Kudos"> > <rdfs:label xml:lang="en">Kudos</rdfs:label> > <rdfs:comment>A class of Annotations representing positive congratulations</rdfs:comment> > <rdfs:subClassOf rdf:resource="http://www.w3.org/2000/10/annotation-ns#Annotation"/> > <rdfs:isDefinedBy resource="http://www.w3.org/2000/10/MyTypes#"/> > </rdfs:Class> > > </rdf:RDF> > ------------ > > And that's all. Next time I launch Amaya, I'll see the new Kudos annotation > type. Look at the annottypes.rdf file to see other examples. > > As you can see, Amaya is not yet able to download schemata dynamically from > the Web. For Amaya to understand the semantics of Kudos (the label in this > case), the schema has to be stored in the Amaya/config directory. If this > were not the case, then Amaya would have shown the URL of the property when > browsing annotations of this type. It wouldn't have been possible to > create such a type with Amaya either. These are things we need to further > develop. > > Tell us if you have any problems or other questions. > > -jose > > ------------------------------------------------------------------------ > > * Next message: Jose Kahan: "Re: Typo in "Annotea Protocols" page" > * Previous message: Tim Moore: "changing annotation types under Amaya" > * In reply to: Tim Moore: "changing annotation types under Amaya" > * Next in thread: Ralph R. Swick: "Re: changing annotation types under Amaya" > * Reply: Ralph R. Swick: "Re: changing annotation types under Amaya" > * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] > * Other mail archives: [this mailing list] [other W3C mailing lists] > * Mail actions: [ respond to this message ] [ mail a new topic ]
Received on Monday, 21 May 2001 01:27:41 UTC