From 818acbd49b7e283dc194bdd668e0d6a688ae6ba5 Mon Sep 17 00:00:00 2001 From: Rdataflow Date: Thu, 25 Apr 2024 12:30:02 +0200 Subject: [PATCH] fix typo (#187) * fix typo * Update invalid-scale-types.ttl.approved.txt * Create rotten-needles-mate.md --------- Co-authored-by: Tomasz Pluskiewicz --- .changeset/rotten-needles-mate.md | 5 +++++ .../invalid-scale-types.ttl.approved.txt | 10 +++++----- validation/profile-visualize.ttl | 2 +- 3 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .changeset/rotten-needles-mate.md diff --git a/.changeset/rotten-needles-mate.md b/.changeset/rotten-needles-mate.md new file mode 100644 index 0000000..035bb55 --- /dev/null +++ b/.changeset/rotten-needles-mate.md @@ -0,0 +1,5 @@ +--- +"cube-link": patch +--- + +`profile-visualize`: Correct wording of scale type constraint diff --git a/test/profile-visualize/invalid-scale-types.ttl.approved.txt b/test/profile-visualize/invalid-scale-types.ttl.approved.txt index c6fa09c..977243c 100644 --- a/test/profile-visualize/invalid-scale-types.ttl.approved.txt +++ b/test/profile-visualize/invalid-scale-types.ttl.approved.txt @@ -27,7 +27,7 @@ _:report a sh:ValidationReport ; sh:focusNode ; sh:resultPath sh:property ; sh:value _:b2 ; - sh:resultMessage "Cube must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; + sh:resultMessage "Dimension must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; ], [ rdf:type sh:ValidationResult ; sh:resultSeverity sh:Violation ; @@ -36,7 +36,7 @@ _:report a sh:ValidationReport ; sh:focusNode ; sh:resultPath sh:property ; sh:value _:b3 ; - sh:resultMessage "Cube must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; + sh:resultMessage "Dimension must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; ] ; ], [ rdf:type sh:ValidationResult ; @@ -46,7 +46,7 @@ _:report a sh:ValidationReport ; sh:focusNode ; sh:resultPath sh:property ; sh:value _:b2 ; - sh:resultMessage "Cube must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; + sh:resultMessage "Dimension must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; ], [ rdf:type sh:ValidationResult ; sh:resultSeverity sh:Violation ; @@ -55,7 +55,7 @@ _:report a sh:ValidationReport ; sh:focusNode ; sh:resultPath sh:property ; sh:value _:b3 ; - sh:resultMessage "Cube must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; + sh:resultMessage "Dimension must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; ] ; sh:conforms false . @@ -68,4 +68,4 @@ _:b643 sh:path sh:property ; sh:node ; ] ) ; - sh:message "Cube must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" . + sh:message "Dimension must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" . diff --git a/validation/profile-visualize.ttl b/validation/profile-visualize.ttl index 72dc3da..f8693e2 100644 --- a/validation/profile-visualize.ttl +++ b/validation/profile-visualize.ttl @@ -99,7 +99,7 @@ prefix : ] ) ; sh:message - "Cube must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; + "Dimension must have exactly one scaleType: qudt:IntervalScale, qudt:NominalScale, qudt:RatioScale, or qudt:OrdinalScale" ; ] .