Creating Default URIs Using ADS

22 views
Skip to first unread message

Tim Smith

unread,
Mar 23, 2022, 10:31:05 AM3/23/22
to topbrai...@googlegroups.com
Hi,

In EDG, I can define URI construction rules for each Asset Collection instance.  I am going to use the constructor extension to create additional instances that are objects of the new instance to avoid a user having to manually create such instances.

Thus, I need to generate URIs for the additional instances.  Is there a way from within ADS to generate the URI using the Asset Collection URI rules?  I've searched through the API documentation but I have not found such a function. (http://localhost:8084/tbl/lib/assets/ADS/index.html).

Thank you for your input,

Tim 

Holger Knublauch

unread,
Mar 23, 2022, 6:00:24 PM3/23/22
to topbrai...@googlegroups.com

Have you tried

    graph.newURI(type)

which internally calls the SPARQL function swa:newResourceForAssetCollection(?type)

Holger

--
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/CAF0WbnL_gHK5ZCBwmTN%2Bi1Efojkk3prjP_fNvQ-LuYFEROH13w%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages