Holger, Thank you once again for your prompt response and for all your time and effort.
John On May 6, 10:53 am, Holger Knublauch <[email protected]> wrote: > Hi John, > > there is no way of changing the default naming in the create instance > dialogs, at least not yet. But if the URIs are not critical (and you even > suggest to use blank nodes yourself), you should look into using SPIN > constructors. Those constructors would allow you to automatically derive an > rdfs:label from the qname and the position of the resource in the tree. I > have created a small example for this, but be warned that such things might > quickly become very geeky :) Create a subclass of the Root_1 class and it > will get the label "Subclass of Root_1". Make sure to uncheck the default > label generation in the create dialog to not end up with two labels. Switch > to displaying human-readable labels in the main tool bar. > > Cheers, > Holger > > On May 6, 2010, at 6:51 PM, John Perdoni wrote: > > > > > > > Is there anyway to change the default naming of a new instance ie the > > auto fill box that takes the class name and then adds _1 _2 etc. For > > example say I have a catalogue of parts I wanted to reference indexed > > by section number. I want to have hierachical classes as follows. > > > Section_1 > > Section1_1 > > Section1_1_1 > > Section1_1_2 > > Section_1_1_3 (auto named instance, > > not class) > > Section1_1_3 (would not be allowed as name > > already used) > > Section1_2 > > > Section_2 > > Section 2_1 > > Section 2_2 > > > Section_n > > Secton n_1 ......... > > > If the sections are created at design time then all is well, ie any > > instance added to any section or subsection will name itself class_n , > > however a problem arises if I wish to subseqentely add a new section > > or subsection at a later date, ie as shown above if instance have > > already been created in a section then the correct name for any new > > subsection would not be allowed as it will already have been used. > > > Therefore is it possible to a) change the default behaviour of the > > auto fill > > b) is there anyway to > > automatically add a suffix or prefix to the subject name > > c) would it be possible to " > > construct " new instances , i can do this quite succesfully with > > regard to other properties, values etc but not yet having a complete > > command of sparql and tbc as of yet, I am struggling to see how/if > > this is possible for initial subject names. > > d) what would be the impact of > > using anonymous names for each newly created instance, I would like to > > avoid this if possible but if it is the best solution then please > > advise. If this is the case then is there anyway to turn on the check > > box in the new instance dialog permantley. I am going to have a lot of > > data to input by hand and any time saving would be very helpfull > > indeed. > > > Thank you once again in advance for your continued help > > > Regards > > > John > > > -- > > You received this message because you are subscribed to the Google > > Group "TopBraid Suite Users", the topics of which include TopBraid Composer, > > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. > > To post to this group, send email to > > [email protected] > > To unsubscribe from this group, send email to > > [email protected] > > For more options, visit this group at > >http://groups.google.com/group/topbraid-users?hl=en > > -- > You received this message because you are subscribed to the Google > Group "TopBraid Suite Users", the topics of which include TopBraid Composer, > TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group > athttp://groups.google.com/group/topbraid-users?hl=en > > labelGenerationConstructor.ttl > 2KViewDownload- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Group "TopBraid Suite Users", the topics of which include TopBraid Composer, TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/topbraid-users?hl=en
