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 .



and you should get:



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] 
> <mailto:[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 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/46EB7ADA-78B2-44C1-A493-FCACE057DC1A%40topquadrant.com.

Reply via email to