In the upcoming 8.3 version this will be possible using "Dynamic SHACL"

https://datashapes.org/dynamic.html#example-state
Meanwhile you can define a sh:node constraint together with the sh:class and 
the auto-complete widget will filter the invalid values out, see second example 
at

https://datashapes.org/forms.html#AutoCompleteEditor

HTH
Holger


> On 28 Jan 2025, at 5:05 PM, 'Branson, GaBriella C' via TopBraid Suite Users 
> <[email protected]> wrote:
> 
> Is it possible to limit the values of an object property using a constraint 
> to only allow for instances that have a specific status? For example, I have 
> a list of instances, some of which have been deprecated and superceded, and I 
> no longer want users to be able to select them - I only want them to be able 
> to use Approved status values.
> 
> Thanks in advance,
> 
> GaBriella Branson
> 
>  
> -- 
> 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] 
> <mailto:[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/CO6PR09MB7319B28C4309201F231ECEBADAEF2%40CO6PR09MB7319.namprd09.prod.outlook.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/CO6PR09MB7319B28C4309201F231ECEBADAEF2%40CO6PR09MB7319.namprd09.prod.outlook.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/D7F97B50-F66C-4321-8B85-C80542C743F3%40topquadrant.com.

Reply via email to