-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Issue: Expansion of shui Viewers, Editors, and Property Roles
Description
To improve the utility of the shui namespace, we propose the inclusion of additional standard viewers and editors. While the current import of dash provides a strong foundation, modern RDF applications frequently require specialized handling for Markdown, Geospatial data, and complex HTML5 media elements.
Proposed Viewers & Editors
Handling Complex Media with shui:propertyRole
For complex HTML elements like <picture> or <video>, a flat literal is often insufficient. We propose leveraging shui:propertyRole to map specific properties of a shui:NodeShape to the internal requirements of the viewer.
Example: Picture Multi-Viewer Logic
A NodeShape representing an image could utilize the following new roles:
-
shui:AltRole: Maps a property to thealtattribute. -
shui:SrcsetRole: Maps a property to responsive image sources. -
shui:CreditRole: For attribution or captions.
Canonical IRIs for Literals (Question for the Group)
To implement the viewers marked with an asterisk (*), we need to finalize the canonical IRIs for these datatypes. Potential candidates include:
-
Markdown:
https://w3id.org/formats/Markdown(or a specific IANA-based URN) -
Mermaid:
https://mermaid.js.org/datatype(?) -
SPARQL:
http://www.w3.org/ns/formats/SPARQL_Query
Proposed New Roles
-
shui:AltRole -
shui:SubTitleRole -
shui:CreditRole -
shui:SrcsetRole -
shui:GeoRole(To differentiate between primary coordinates and metadata)
Discussion Points
- Core widgets vs. comunity: Which of these potential widgets should be in SHACL 1.2 UI?
- Missing widgets: Do you have additional widgets that could be in SHACL 1.2 UI?