I've been working with the new capability to convert OWL/RDFS to SHACL on 
some of my ontology files but ran into something that I thought would be 
converted.  When I run the converter, it states the following:

The conversation has been completed although 1 anonymous superclasses were 
> not converted (these will be shown in a References view).


when I investigate the references view, I see its a class level 
owl:allValuesFrom restriction on an object property similar to what is 
described in the blog post "From OWL to SHACL in an Automated Way".  The 
post states that:

*owl:allValuesFrom* statements are converted to property shapes with either 
> sh:class (for object properties) or sh:datatype constraint components


The difference I see is that my class is defined as

identity:Identity
  rdf:type owl:Class ;
  rdfs:subClassOf ctiDomain:DomainBase 
  rdfs:subClassOf [
    rdf:type owl:Restriction ; 
    owl:allValuesFrom [
      rdf:type owl:Class ;
      owl:oneOf (
        identity:IndividualInfo
        identity:OrganizationalInfo
        ) ;
    ] ;
  owl:onProperty cti:extensions ;
  ]  .

I'm wondering if it the anonymous class for the owl:oneOf that is creating 
the issue and stops the conversation process from adding the values in the 
oneOf to the sh:class property of the identity:Identity-extensions 
constraint.

Any suggestions as I'd like to see if I can generate the SHACL without the 
need to hand-modify the shapes file

Thanks in advance


-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to