I couldn't quantify the performance impact exactly, but it's definitely noticeable. I would say it's added minutes, as an estimate.
If there is anything you can do to help minimize the impact that would be amazing! Please let me know if I should open a support ticket instead. On Thu, Nov 6, 2025 at 5:27 PM Holger Knublauch <[email protected]> wrote: > > > On Nov 7, 2025, at 09:23, Jessica Cleary-Kemp <[email protected]> > wrote: > > This worked, thank you! The problems and suggestions report does seem to > be taking longer now. Is that inevitable after adding this constraint? > > > Yes, this is a rather expensive operation because it needs to walk through > all property shapes for the classes and superclasses. How bad is the > performance impact? Maybe I can add some caches to avoid repeated > computation. > > Holger > > > > On Wed, Nov 5, 2025 at 6:43 PM Holger Knublauch <[email protected]> > wrote: > >> Hi Jessica, >> >> in SHACL there is sh:closed and its (better) variation >> https://datashapes.org/constraints.html#ClosedByTypesConstraintComponent that >> should help here. If you want to control which properties can be used at >> skos:Concepts just add >> >> skos:Concept dash:closedByTypes true . >> >> <PastedGraphic-2.png> >> >> and you should get: >> >> <PastedGraphic-1.png> >> >> FWIW SHACL 1.2 will include this constraint using sh:closed sh:ByTypes, >> see >> >> https://www.w3.org/TR/shacl12-core/#ClosedConstraintComponent >> >> HTH >> Holger >> >> >> On Nov 6, 2025, at 06:28, Jessica Cleary-Kemp <[email protected]> >> wrote: >> >> Hi team, >> >> Is there a simple way (either in the UI or via a SHACL constraint) to >> generate an error in Problems & Suggestions whenever a concept has any >> undeclared property associated with it? e.g., of a use case: we >> accidentally use the predicate *namespace:locationOf* with a subject >> "Halifax" the *company*, not "Halifax" the *city*. This will not >> currently show up in Problems & Suggestions because it simply ends up as an >> undeclared property and is ignored. >> >> Any help is appreciated! >> >> This email may contain material that is confidential, privileged, or for >> the sole use of the intended recipient. Any review, disclosure, reliance, >> or distribution by others or forwarding without express permission is >> strictly prohibited. If you are not the intended recipient, please contact >> the sender and delete all copies, including attachments. >> >> -- >> 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 visit >> https://groups.google.com/d/msgid/topbraid-users/c2ca03ee-881f-4020-9f2b-e6c57a87ab27n%40googlegroups.com >> <https://groups.google.com/d/msgid/topbraid-users/c2ca03ee-881f-4020-9f2b-e6c57a87ab27n%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 a topic in the >> Google Groups "TopBraid Suite Users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/topbraid-users/nyiwtwNLghQ/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion visit >> https://groups.google.com/d/msgid/topbraid-users/46EB7ADA-78B2-44C1-A493-FCACE057DC1A%40topquadrant.com >> <https://groups.google.com/d/msgid/topbraid-users/46EB7ADA-78B2-44C1-A493-FCACE057DC1A%40topquadrant.com?utm_medium=email&utm_source=footer> >> . >> > > This email may contain material that is confidential, privileged, or for > the sole use of the intended recipient. Any review, disclosure, reliance, > or distribution by others or forwarding without express permission is > strictly prohibited. If you are not the intended recipient, please contact > the sender and delete all copies, including attachments. > > -- > 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 visit > https://groups.google.com/d/msgid/topbraid-users/CA%2BqYWyW-NALm%3Da%2BGtuYAdoZjK9RecjZSgRA0NqKH5%3DRoNi%3D%3DTQ%40mail.gmail.com > <https://groups.google.com/d/msgid/topbraid-users/CA%2BqYWyW-NALm%3Da%2BGtuYAdoZjK9RecjZSgRA0NqKH5%3DRoNi%3D%3DTQ%40mail.gmail.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 a topic in the > Google Groups "TopBraid Suite Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/topbraid-users/nyiwtwNLghQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion visit > https://groups.google.com/d/msgid/topbraid-users/F286A391-9A25-4558-A4C5-680626C7BF66%40topquadrant.com > <https://groups.google.com/d/msgid/topbraid-users/F286A391-9A25-4558-A4C5-680626C7BF66%40topquadrant.com?utm_medium=email&utm_source=footer> > . > -- This email may contain material that is confidential, privileged, or for the sole use of the intended recipient. Any review, disclosure, reliance, or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies, including attachments. -- 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 visit https://groups.google.com/d/msgid/topbraid-users/CA%2BqYWyV_25HK4mHgv6QvaHp%2BSoZdTh5QWBSJ8w7YyJXf%2B6Mn1w%40mail.gmail.com.
