Skip to content

Updates permitted datatypes of sh:message and sh:description, and other properties previously permitting rdf:langString (Issues 723 & 724)#738

Merged
HolgerKnublauch merged 2 commits intogh-pagesfrom
issue-723-724
Jan 26, 2026
Merged

Updates permitted datatypes of sh:message and sh:description, and other properties previously permitting rdf:langString (Issues 723 & 724)#738
HolgerKnublauch merged 2 commits intogh-pagesfrom
issue-723-724

Conversation

@HolgerKnublauch
Copy link
Copy Markdown
Contributor

Also allowing rdf:dirLangString where rdf:langString was allowed.

Also allowing rdf:HTML at sh:message and sh:description.

Closes #723
Closes #724

Also allowing rdf:dirLangString where rdf:langString was allowed.

Also allowing rdf:HTML at sh:message and sh:description.
@HolgerKnublauch HolgerKnublauch added Core For SHACL 1.2 Core spec SPARQL For SHACL 1.2 SPARQL extensions spec labels Jan 26, 2026
@HolgerKnublauch
Copy link
Copy Markdown
Contributor Author

The PR also includes a minor clean up to the SPARQL abstract, reflecting our recent generalization of the scope of SHACL beyond just validation.

Note that in the diagram I switched to "text" instead of the (too long) xsd:string or rdf:langString or rdf:dirLangString or rdf:HTML.

@HolgerKnublauch HolgerKnublauch merged commit d3f1139 into gh-pages Jan 26, 2026
1 check passed
@HolgerKnublauch HolgerKnublauch deleted the issue-723-724 branch January 26, 2026 22:09
@TallTed TallTed changed the title Issue 723 724 Updates permitted datatypes of sh:message and sh:description, and other properties previously permitting rdf:langString (Issues 723 & 724) Jan 30, 2026
@TallTed
Copy link
Copy Markdown
Member

TallTed commented Jan 30, 2026

Note that in the diagram I switched to "text" instead of the (too long) xsd:string or rdf:langString or rdf:dirLangString or rdf:HTML.

Perhaps we should define rdf:text as a supertype, having subtypes of xsd:string, rdf:langString, rdf:dirLangString, & rdf:HTML (and others?)...?

@HolgerKnublauch
Copy link
Copy Markdown
Contributor Author

Introducing a supertype would require a new type of inference, and is certainly out of scope for the SHACL WG, esp if it would go into the rdf: namespace.

@TallTed
Copy link
Copy Markdown
Member

TallTed commented Feb 2, 2026

I should have suggested sh:text, but I see your point. Still, that suggests that the "too long" string of optional type values should still be used, instead of "text".

@HolgerKnublauch
Copy link
Copy Markdown
Contributor Author

@TallTed I have opened a follow-up PR - please approve if that addresses the remaining issues #756

robert-david pushed a commit to VladimirAlexiev/data-shapes that referenced this pull request Feb 9, 2026
* w3c#723 w3c#724

Also allowing rdf:dirLangString where rdf:langString was allowed.

Also allowing rdf:HTML at sh:message and sh:description.

* Added commas
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Core For SHACL 1.2 Core spec SPARQL For SHACL 1.2 SPARQL extensions spec

Projects

None yet

3 participants