What is required to allow TBC to edit governance models

20 views
Skip to first unread message

robatki...@gmail.com

unread,
Feb 8, 2021, 1:10:59 AM2/8/21
to TopBraid Suite Users
I want to create a reusable set of governance roles and include these in EDG deployments programatically.

If I owl:import these into the governance singleton it gets ignored.

So I tried to do an select/insert but could not get EDG to find the original data..

so tried to test SPARQL on TBC - to find out that TBC does not seem to be able to load a governance model - it replaces it with an empty graph ...

  a owl:Ontology ;
  rdfs:comment "Empty graph created due to failed import" ;
  owl:imports <http://spinrdf.org/spl> ;
.


So what is it actually supposed to do and how do you create a reusable set of governance objects and load them?

Holger Knublauch

unread,
Feb 8, 2021, 3:07:24 AM2/8/21
to topbrai...@googlegroups.com


On 2021-02-08 4:10 pm, robatki...@gmail.com wrote:
I want to create a reusable set of governance roles and include these in EDG deployments programatically.

If I owl:import these into the governance singleton it gets ignored.

So I tried to do an select/insert but could not get EDG to find the original data..
Why not? If you just open http://localhost:8083/tbl/platform_governance_singleton.editor you can open the SPARQL panel. What happened next?


so tried to test SPARQL on TBC - to find out that TBC does not seem to be able to load a governance model - it replaces it with an empty graph ...

What exactly did you open from TBC? platform_governance_singleton.xdb opens just fine on my machine.

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/fb212e7d-839c-4f2c-885b-e685b74b3d8an%40googlegroups.com.

David Price

unread,
Feb 8, 2021, 5:37:40 AM2/8/21
to topbrai...@googlegroups.com
Deploy a TTL file containing governance roles to an EDG server (Project Upload) just like any other EDG extension project created in TBC, and then open the Governance Areas (under Governance Model) and use Setting, Includes and it works. We do that for some customers using 6.4.x today.

Cheers,
David

--
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/fb212e7d-839c-4f2c-885b-e685b74b3d8an%40googlegroups.com.

Irene Polikoff

unread,
Feb 8, 2021, 11:30:52 AM2/8/21
to topbrai...@googlegroups.com
There are two options:

1. Create an ontology in EDG and create new governance roles there
2. Use a file option to define roles.

The first option is described step by step in the attached presentation.
Custom Governance Roles.pdf

robatki...@gmail.com

unread,
Feb 8, 2021, 5:33:45 PM2/8/21
to TopBraid Suite Users

OK great if including a file works - that was plan A - it probably didn't work for the same reason I can't open in TBC.

The issue is why TBC wont successfully open an ontology file (I was already attempting what has been suggested), based on an export of a EDG edited governance model.  Even with no imports if creates a grap containing only the statement outlined above.

will try to break it down to locate the point it fails..

robatki...@gmail.com

unread,
Feb 8, 2021, 6:07:31 PM2/8/21
to TopBraid Suite Users

OK - found the problem - the graph exported has the external URI of the graph set, and that cannot be re-used as the baseURI of a file (or at least if I change this everything works as expected)

TBC doesnt tell you this until you change the URI (it works then) and then when you try to change back it says its already in use.. scope for some friendlier and more transparent behaviour here perhaps.

If I set the external URI in EDG to something that already exists in a project no complaint is made and it doesnt stop the file from reloading in TBC - so it may only be an issue for some specific interaction sequence.

Reply all
Reply to author
Forward
0 new messages