Patrick,

Most likely your guess is correct.

Conversion is performed using SHACL rules. To see (and modify if needed) rules, 
o to the TopBraid project, then open owl2shacl.ttl under SHACL. If I understand 
your model correctly, in SHACL you would use sh:class constraint with an sh:or 
statement.

Or, if you do not want to extend the rules, change your OWL model so that you 
have and your restriction uses a parent class of identity:IndividualInfo and 
OrganizationalInfo.

> On Dec 6, 2018, at 1:55 AM, Paul Patrick <paul.patrick...@gmail.com> wrote:
> 
> 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 topbraid-users+unsubscr...@googlegroups.com 
> <mailto:topbraid-users+unsubscr...@googlegroups.com>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
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 topbraid-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to