The two class-related violations originate from tosh.ttl, in particular the
property shape tosh:Resource-type.
To get rid of these, either fix the model to include the correct class
definitions or add the triple
tosh:Resource-type sh:deactivated true .
If you have the class definitions in some ontology or shapes file, you could
owl:import that into the data graph and make it part of the data graph for
validation purposes.
Holger
> On 20 Feb 2023, at 4:56 pm, Nensi Skenderi <[email protected]> wrote:
>
> Hello,
>
> So I have been using SHACL for a white now and I notice the following:
>
> When I validate the below date and shape graph in
> https://shacl.org/playground/
> I get only 2 validation reports which is perfectly fine. <Screenshot
> 2023-02-20 at 5.53.26 PM.png>
>
>
> When I validate the same models in code I also get these
> ClassConstraintComponent violations. How to get rid of these without making
> changes in the models?
>
> <Screenshot 2023-02-20 at 5.55.33 PM.png>
>
>
> Thanks,
> Nensi
>
>
> --
> 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]
> <mailto:[email protected]>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/topbraid-users/d8d6a36b-5a95-4568-ab94-218fb58ed972n%40googlegroups.com
>
> <https://groups.google.com/d/msgid/topbraid-users/d8d6a36b-5a95-4568-ab94-218fb58ed972n%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <Screenshot 2023-02-20 at 5.55.33 PM.png><Screenshot 2023-02-20 at 5.53.26
> PM.png>
--
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/C8216AB2-0E9E-4E5E-8E82-3E975097FFC8%40topquadrant.com.