diff --git a/shacl12-core/index.html b/shacl12-core/index.html
index 5ce76db64..daf430198 100644
--- a/shacl12-core/index.html
+++ b/shacl12-core/index.html
@@ -881,7 +881,7 @@
-
sh:name : xsd:string or rdf:langString
-
+
sh:name : xsd:string or rdf:dirLangString or rdf:langString
+
@@ -1606,7 +1606,8 @@
Declaring the Severity of a Shape or Constraint
Declaring Messages for a Shape or Constraint
Shapes can have values for the property sh:message.
- The values of sh:message are either xsd:string literals or literals with a language tag.
+ The values of sh:message are literals with datatype
+ xsd:string, rdf:dirLangString, rdf:langString, or rdf:HTML.
A subject should not have more than one value for sh:message with the same language tag.
@@ -2774,7 +2775,6 @@
sh:datatype
The following example illustrates the list-based syntax, meaning that all values of
rdfs:label must be either xsd:string or rdf:langString.
- Note that using rdf:langString as value of sh:datatype can be used to test if value nodes have a language tag.
@@ -3461,7 +3461,7 @@
sh:singleLine
ex:SingleLineExampleShape-comment
a sh:PropertyShape ;
sh:path rdfs:comment ;
- sh:datatype ( xsd:string rdf:langString ) ;
+ sh:datatype ( xsd:string rdf:dirLangString rdf:langString ) ;
sh:singleLine false ;
.
@@ -5338,8 +5338,16 @@ sh:name and sh:description
over globally specified labels at the rdf:Property itself.
For example, if a form displays a node that is in the target of a given property shape
with an sh:name, then the tool SHOULD use the provided name.
+ The values of sh:name must be literals with datatype
+ xsd:string, rdf:dirLangString, or rdf:langString.
+
+
Similarly, property shapes may have values for sh:description
to provide descriptions of the property in the given context.
+ The values of sh:description must be literals with datatype
+ xsd:string, rdf:dirLangString, rdf:langString, or rdf:HTML.
+
+
Both sh:name and sh:description may have
multiple values , but should only have one value per language tag.
diff --git a/shacl12-sparql/index.html b/shacl12-sparql/index.html
index ef55f9e3b..3f93a3743 100644
--- a/shacl12-sparql/index.html
+++ b/shacl12-sparql/index.html
@@ -147,12 +147,11 @@
This document defines SPARQL-related extensions of the SHACL Shapes Constraint Language.
- SHACL is a language for validating RDF graphs against a set of conditions.
- These conditions are provided as shapes and other constructs expressed in the form of an RDF graph.
While the Core part of SHACL defines the basic syntax of shapes and the most common constraint components
supported by SHACL, the SPARQL-related extensions cover features that extend the expressiveness of Core
by means of SPARQL.
- In particular, this document defines how constraints and constraint components can be defined using SPARQL.
+ In particular, this document defines how constraints and constraint components can be defined using SPARQL,
+ and SPARQL-based node expressions.
@@ -660,7 +659,8 @@ Syntax of SPARQL-based Constraints
The following two properties are similar to their use in shapes :
- SPARQL-based constraints may have values for the property sh:message and these are either xsd:string literals or literals with a language tag.
+ SPARQL-based constraints may have values for the property sh:message
+ and these are literals with datatype xsd:string, rdf:dirLangString, rdf:langString, or rdf:HTML.
SPARQL-based constraints may have at most one value for the property sh:deactivated
and this value is either true or false.
diff --git a/shacl12-vocabularies/shacl.ttl b/shacl12-vocabularies/shacl.ttl
index 9ea1ef135..e89bad435 100644
--- a/shacl12-vocabularies/shacl.ttl
+++ b/shacl12-vocabularies/shacl.ttl
@@ -116,7 +116,7 @@ sh:targetWhere
sh:message
a rdf:Property ;
# domain: sh:Shape or sh:SPARQLConstraint or sh:SPARQLSelectValidator or sh:SPARQLAskValidator
- # range: xsd:string or rdf:langString
+ # range: xsd:string or rdf:dirLangString or rdf:langString or rdf:HTML
rdfs:label "message"@en ;
rdfs:comment "A human-readable message (possibly with placeholders for variables) explaining the cause of the result."@en ;
rdfs:isDefinedBy sh: .
@@ -299,7 +299,7 @@ sh:resultMessage
rdfs:label "result message"@en ;
rdfs:comment "Human-readable messages explaining the cause of the result."@en ;
rdfs:domain sh:AbstractResult ;
- # range: xsd:string or rdf:langString
+ # range: xsd:string or rdf:dirLangString or rdf:langString or rdf:HTML
rdfs:isDefinedBy sh: .
sh:resultPath
@@ -443,7 +443,7 @@ sh:labelTemplate
rdfs:label "label template"@en ;
rdfs:comment "Outlines how human-readable labels of instances of the associated Parameterizable shall be produced. The values can contain {?paramName} as placeholders for the actual values of the given parameter."@en ;
rdfs:domain sh:Parameterizable ;
- # range: xsd:string or rdf:langString
+ # range: xsd:string or rdf:dirLangString or rdf:langString
rdfs:isDefinedBy sh: .
sh:Parameter
@@ -1723,7 +1723,7 @@ sh:description
rdfs:label "description"@en ;
rdfs:comment "Human-readable descriptions for the property in the context of the surrounding shape."@en ;
rdfs:domain sh:PropertyShape ;
- # range: xsd:string or rdf:langString
+ # range: xsd:string or rdf:dirLangString or rdf:langString or rdf:HTML
rdfs:isDefinedBy sh: .
sh:group
@@ -1739,7 +1739,7 @@ sh:name
rdfs:label "name"@en ;
rdfs:comment "Human-readable labels for the property in the context of the surrounding shape."@en ;
rdfs:domain sh:PropertyShape ;
- # range: xsd:string or rdf:langString
+ # range: xsd:string or rdf:dirLangString or rdf:langString
rdfs:isDefinedBy sh: .
sh:order