Actually I think I finally figured it out. I am using EDG and found the dash:SubClassEditor on the forms. The example provided was a little hazy (https://datashapes.org/forms.html#SubClassEditor) on how to use it. Here is an example of what I was describing above seems to work.
test_ontology:Mammal a owl:Class ; a sh:NodeShape ; edg:acronym "mam" ; rdfs:label "Mammal" ; rdfs:subClassOf owl:Thing ; sh:property test_ontology:Mammal-type ; . . test_ontology:Mammal-type a sh:PropertyShape ; sh:path rdf:type ; dash:editor dash:SubClassEditor ; dash:rootClass test_ontology:Mammal ; sh:name "mammal type" ; sh:nodeKind sh:IRI ; . test_ontology:Dog a owl:Class ; a sh:NodeShape ; edg:acronym "mam" ; rdfs:label "Dog" ; rdfs:subClassOf test_ontology:Mammal ; sh:Class test_ontology:Mammal ; . If the instance was created under the class "Mammal", I am able to use the "mammal type" property to switch to the rdf:type to a different subClassOf mammal. On Tuesday, February 13, 2024 at 12:22:53 PM UTC-7 Holger Knublauch wrote: > Hi Marie, > > is this a question about TopBraid EDG or Composer? > > What is the class that you are using? Does it define a property shape for > rdf:type so that you see the type on the form? A screenshot may help. > > Holger > > > On 13 Feb 2024, at 8:13 pm, Marie Valadez <[email protected]> wrote: > > Is there a way a user can change an instance type using the form instead > of through the source code? For instance, if an instance of "mammal" is > "German Shepherd" but then the user wants to go back and update the type to > be a "dog" which is a subclass of "mammal". > > -- > The topics of this mailing list include TopBraid EDG and related > technologies such as SHACL. > To post to this group, send email to [email protected] > --- > You received this message because you are subscribed to the Google Groups > "TopBraid Suite Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/topbraid-users/06cfc4df-af5d-4c08-82aa-c71e9af93b80n%40googlegroups.com > > <https://groups.google.com/d/msgid/topbraid-users/06cfc4df-af5d-4c08-82aa-c71e9af93b80n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > > -- The topics of this mailing list include TopBraid EDG and related technologies such as SHACL. To post to this group, send email to [email protected] --- You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/5c4ed810-81ef-4ab5-98bf-523dd67d5434n%40googlegroups.com.
