Showvoc custom tree for anonymus users

26 views
Skip to first unread message

Thomas Francart

unread,
Aug 25, 2025, 6:22:21 AM (11 days ago) Aug 25
to vocbench-user
Hello

This is somehow a followup to this previous question : https://groups.google.com/g/vocbench-user/c/M2nurRQ8Hdw/m/gY9yx2xmCgAJ, but this time in ShowVoc.

My goal is to create, for an OWL dataset in ShowVoc, a custom tree with a specific root class, that will be enabled for anonymous users. If I create a custom tree with this root when I am logged in, this correctly persists across sessions when I am authentified. But this is not the case for public, non-authenticated users. And I cannot find any dataset-level settings to enable a custom tree with a root class.

How can I set a root class for non-authenticated users for a dataset in Showvoc ?
(if not possible through the UI, I can also edit config files on the server side)

Thanks
Thomas

--

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

Tiziano Lorenzetti

unread,
Aug 26, 2025, 6:29:49 AM (10 days ago) Aug 26
to Thomas Francart, vocbench-user
Dear Thomas,
class tree preferences are stored as PROJECT-USER settings, meaning they are specific to the logged-in user within a given project. This is why the changes persist only when you're authenticated, not for public users.

In principle, you could define a default for this PU setting, but:
  • currently the class tree preferences editor does not allow managing defaults
  • the low-level Settings Mgr editor (the one you mentioned in the related discussion) is available in VB but not in SV.
Therefore, the only option is to edit the settings file directly at:
SemanticTurkeyData/projects/PROJ_NAME/plugins/it.uniroma2.art.semanticturkey.settings.core.SemanticTurkeyCoreSettingsManager/pu-settings-defaults.props

by adding something like

classTree:
  rootClass: <http://example#CustomRootClass>

Please notice that there is a limitation: if users (authenticated or not) have already customized their class tree preferences, the default will not override their choice, so they won’t see the change.

Best regards,
Tiziano


--
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 visit https://groups.google.com/d/msgid/vocbench-user/CAPugn7WjH%2BeW5fOo0wtXiWtSPhfADADO7KrisvbyzEFB-eAu%3DA%40mail.gmail.com.

Thomas Francart

unread,
Aug 26, 2025, 7:36:17 AM (10 days ago) Aug 26
to Tiziano Lorenzetti, vocbench-user
Thank you very much for the support. We will try that.
I will followup with a related question in a separate thread.

Thomas
Reply all
Reply to author
Forward
0 new messages