> On 13 Feb 2023, at 9:38 pm, 'GaBriella Branson' via TopBraid Suite Users 
> <[email protected]> wrote:
> 
> Hi - I am interested in having the list of values available to a user be more 
> specific than simply "Asset". This is edg:supercededBy on a Business 
> Application and I only want my user to have to select from other Business 
> Applications. Is there a way to do that without deactivating edg:supercededBy 
> and re-defining with a property of my own name in my own property shape for 
> the same sh:path?
> <Types of Values.JPG>

It sounds like you want to narrow down the sh:class constraint for 
edg:supercededBy at instances of the class edg:BusinessApplication. Doing this 
in subclasses in generally possible in SHACL and will be understood by TopBraid.

Try adding a new property shape for the same property (sh:path) at Business 
Application. The resulting source code would look something like this:

edg:BusinessApplication
    sh:property edg:BusinessApplication-supercededBy .

edg:BusinessApplication-supercededBy
    a sh:PropertyShape ;
    sh:path edg:supercededBy ;
    sh:class edg:BusinessApplication ;
.

Disclaimer: I have not tried that out.

> 
> Additionally I have a request from a user regarding Business Function and 
> Business Activity. Is it possible after a Business Function is selected 
> (edg:supportsBusinessFunction) to then have the list of available Business 
> Activities (edg:supportsBusinessActivity) be limited to those related to the 
> Function?

This would be much harder because the valid values would have to be the results 
of something like a SPARQL query and we don't have such an input widget. It is 
further complicated by the fact that users may change one value or the other 
while the form is in edit mode, and the UI would dynamically have to switch its 
allowed values.

So I don't see a built-in solution for that. It is always possible to develop 
customizations though for special tasks like that.

Holger


>  
> 
> Thank you 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 [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/47109c38-6980-4686-9b40-c8170c5d307fn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/47109c38-6980-4686-9b40-c8170c5d307fn%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <Types of Values.JPG>

-- 
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/F3824E90-54B0-4EED-BFAB-10F1142EE143%40topquadrant.com.

Reply via email to