Default OWL tree rootClass for a project ?

22 views
Skip to first unread message

Thomas Francart

unread,
Aug 28, 2024, 12:08:56 PM8/28/24
to vocbench-user
Hello

I have an OWL project with a pretty large class tree (imported from another project), with instances of only OneClass (hidden 3-levels deep inside my large class tree). 

I would like to have that OneClass as the root of classes presented to users. I can set it in the "Class Tree Settings" dialog, but this is effective for only my session. Next time I log in I need to set it up again; and I would like every user that enters that project to have that same rootClass.

I found out about the rootClass default settings in SemanticTurkey, which I was able to set in Administration > Settings Mgr > SemanticTurkeyCoreSettingsManager > scope = PROJECT_USER > Class tree preferences > rootClass. I can see this is reflected in semantic turkey pu-settings-defaults.props. However it does not seem to have any effect.

I tried entering that setting manually at the same place were custom tree is stored, that is in SemanticTurkeyData/projects/My_Project/plugins/it.uniroma2.art.semanticturkey.settings.core.SemanticTurkeyCoreSettingsManager#/pu-settings-default.props, with no effect.

Is it possible to set a default rootClass for a project ?

Subsidiary question : if I want to make sure users will never create instances of other classes than this OneClass in my project, do I have a way ?

Thanks !
Thomas

--

Thomas Francart - SPARNA
linked data | domain ontologies | knowlegde graphs
blog :
blog.sparna.fr, site : sparna.fr, linkedin : fr.linkedin.com/in/thomasfrancart
tel : 
 +33 (0)6.71.11.25.97

stel...@uniroma2.it

unread,
Aug 29, 2024, 5:16:29 AM8/29/24
to Thomas Francart, vocbench-user

Dear Thomas,

 

that sounds like a bug; it should indeed last over sessions and in the past it did. There must be some client-server misalignment on the property and thus probably you are able to make it work the first time just because the client applies some cached value in the very moment the (wrong?) property is set on the server. This explains also why the default setting is not working.

 

This is just an educated guess though: we will investigate and come back on this.

 

Thanks for spotting this!

 

Armando

 

--
You received this message because you are subscribed to the Google Groups "vocbench-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vocbench-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vocbench-user/CAPugn7XxboomxQwe4pAYUDz__AhCWKH%2BUL2Q7e87ra4CDOL3XQ%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages