- From: Robert David via GitHub <noreply@w3.org>
- Date: Fri, 24 Apr 2026 15:48:42 +0000
- To: public-shacl@w3.org
robert-david has just created a new issue for https://github.com/w3c/data-shapes:
== Global configuration for SHACL UI ==
This is a proposal for global configuration parameters mainly used by the UI
based on the discussions in the SHACL UI task force and the issues
- https://github.com/w3c/data-shapes/issues/855
- https://github.com/w3c/data-shapes/issues/857
- https://github.com/w3c/data-shapes/issues/859
Example
`:shapes a owl:Ontology .
:shapes shui:hasConfiguration :config .
:config a shui:GlobalConfiguration;
shui:defaultNamespace "https://p3d-uat.semantic-web.at";
shui:hasLanguagePreference ("" "en" "de");
shui:hasTimeZone "Europe/Vienna" .`
The configuration node can use the shapes graph URI or any other URI. The configuration is retrieved based on the owl:Ontology class membership. This was the original proposal, but we could also change it to be a different class.
`shui:hasConfiguration` links to a 'shui:GlobalConfiguration', which can be locally defined or externally (centralised) provided.
Global parameters are
- `shui:defaultNamespace`is mainly used for generating new URIs for added data via UI.
- `shui:hasLanguagePreference` provides a list of languages in order of priority, with an empty literal "" representing no language. This is mainly used for defaulting and selecting languages for new added literals in the UI.
- `shui:hasTimeZone` provides a literal time zone representation, which can be used to adapt date and time literals if needed , to log change dates, ...
I agree with @edmondchuc that URI generation is a separate topic (which most likely still uses `shui:defaultNamespace`, though).
Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/869 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 24 April 2026 15:48:43 UTC