Hi Holger,

This is perfect.

Thank you!

Kasia

On Tuesday, February 6, 2024 at 12:33:23 PM UTC+1 Holger Knublauch wrote:

> I don't see a function that would construct a urn:x-tb-role:XY URI, but 
> you can just use
>
> graph.namedGraph('urn:x-tb-role:' + xy)
>
> and yes, the graph.add below looks fine with that value.
>
> tbs.addGovernanceRole is doing something else.
>
> Holger
>
>
> On 6 Feb 2024, at 12:02 pm, Kasia Kryczka <sparql...@gmail.com> wrote:
>
> graph.transaction( uri + '.tch','Adding Permission', () => {
>     graph.add(graph.namedNode(uri + '.tch'),'
> http://topbraid.org/teamwork#editor', tbs.userURI('test'));
>     graph.add(graph.namedNode(uri + '.tch'),'
> http://topbraid.org/teamwork#viewer', ... 
> and here I want to add 
> urn:x-tb-role:TTTTTTT-BBB-CC etc. 
>
> });
>
> Could you please let me know how to add this ? 
>
> Is tbs.addGovernanceRole right method? or maybe there is sth else ?
>
> Thanks,
>
> Kasia
>
> -- 
> The topics of this mailing list include TopBraid EDG and related 
> technologies such as SHACL.
> To post to this group, send email to topbrai...@googlegroups.com
> --- 
> 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 topbraid-user...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/topbraid-users/90747260-6f61-4a12-8f30-8be3b698aaecn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/topbraid-users/90747260-6f61-4a12-8f30-8be3b698aaecn%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 topbraid-users@googlegroups.com
--- 
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 topbraid-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/topbraid-users/b933c379-3ce2-4260-b938-090875a0df7an%40googlegroups.com.

Reply via email to