You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the sh:uniqueLang constraint is violated, the validation report does not include the duplicated value node. This makes it difficult to identify which specific values caused the violation.
Expected Behavior
The validation report should provide the duplicated value node, allowing users to pinpoint the exact issue in their data.
Steps to Reproduce
Define a SHACL shape with sh:uniqueLang true.
Validate data that contains multiple values with the same language tag for a property.
Observe the validation report.
Actual Behavior
The validation report states that the constraint was violated but does not indicate the specific duplicated value node.
Expected Behavior
The validation report should include the exact value nodes that caused the violation.
Example
SHACL Shape
ex:BuildingShape a sh:NodeShape ;
sh:targetClass ex:Building ;
sh:property [
sh:path ex:label ;
sh:datatype rdf:langString ;
sh:uniqueLang true ;
sh:message "Each building label should have only one value per language." ;
] .
Version
5.3.0
What happened?
Issue Description
When the
sh:uniqueLang
constraint is violated, the validation report does not include the duplicated value node. This makes it difficult to identify which specific values caused the violation.Expected Behavior
The validation report should provide the duplicated value node, allowing users to pinpoint the exact issue in their data.
Steps to Reproduce
sh:uniqueLang true
.Actual Behavior
Expected Behavior
Example
SHACL Shape
Invalid Data
Relevant output and stacktrace
Are you interested in making a pull request?
Yes
The text was updated successfully, but these errors were encountered: