Paul; When creating a new value for a resource in Ensemble, the Label is rdfs:label. To change skos:prefLabel, do the following
1. Open a model with skos imported 2. Create a new skos Concept instance 3. Edit 'preferred label' 4. The value of skos:prefLabel is changed to the entered value Note that rdfs:label will also be displayed in Ensemble. I.e.: 'label' is rdfs:label 'preferred label' is skos:prefLabel -- Scott On May 27, 9:20 am, PaulZH <[email protected]> wrote: > No Scott, > > Not in my case. > > This is what I get. > > <rdf:Description rdf:about="#TTTTTTTT"> > <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Thing"/> > <rdfs:label>TTTTTTTT</rdfs:label> > </rdf:Description> > > which isn't > <skos:preferedLabel>TTTTTTTT</skos:preferedLabel> > > Paul > > On May 14, 4:06 pm, Scott Henninger <[email protected]> > wrote: > > > Paul, are you referring to the fact that if you choose Create New... > > for a preferred label, a dialog box comes up with a "Label" to enter > > text? > > > Just enter text into the label box and it will become a literal > > (string) value in the model. > > > -- Scott > > > On May 14, 3:06 am, PaulZH <[email protected]> wrote: > > > > Irene, > > > > I did give this a second thought and I am still struggling with this. > > > > skos:prefLabel is defined as a owl:AnnotationProperty. > > > > Then from the OWL spec: > > > > "The object of an annotation property must be either a data literal, a > > > URI reference, or an individual." > > > > So I would expect that the Ensemble user interface should offer me the > > > possibility to enter a "data literal" value for skos:prefLabel. > > > > Or am I overlooking something? > > > > Regards, > > > >Paul > > > > On May 8, 4:23 pm, "Irene Polikoff" <[email protected]> wrote: > > > > > <When editing in the customized form I would have expected "add empty > > > > row" on skos:prefLabel as for an rdfs:label but I get "Create Thing". > > > > Same for skos:skopeNote ???> > > > > > They have no ranges. I would recommend importing skos into your own > > > > model > > > > and adding ranges. > > > > > < Strange thing is that I get the customized form on the root concept > > > > (taxonomy root) but not on concepts that are narrower. > > > > Any idea what might be the cause?> > > > > > Are they all members of the same class? > > > > > Regards, > > > > > Irene > > > > > -----Original Message----- > > > > From: [email protected] > > > > > [mailto:[email protected]] On Behalf Of PaulZH > > > > Sent: Friday, May 08, 2009 8:29 AM > > > > To: TopBraid Composer Users > > > > Subject: [tbc-users] learning Topbraid Ensemble > > > > > Hi, > > > > > I have implemented the SKOS example as outlined in the manual, which > > > > went seamlessly. > > > > Now I'm trying to customize the editing form for a concept. > > > > Strange thing is that I get the customized form on the root concept > > > > (taxonomy root) but not on concepts that are narrower. > > > > Any idea what might be the cause? > > > > > When editing in the customized form I would have expected "add empty > > > > row" on skos:prefLabel as for an rdfs:label but I get "Create Thing". > > > > Same for skos:skopeNote ??? > > > > > Regards, > > > > >Paul --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TopBraid Composer Users" group. 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-composer-users?hl=en -~----------~----~----~----~------~----~------~--~---
