Skip to content

Commit

Permalink
fix typo (#187)
Browse files Browse the repository at this point in the history
* fix typo

* Update invalid-scale-types.ttl.approved.txt

* Create rotten-needles-mate.md

---------

Co-authored-by: Tomasz Pluskiewicz <[email protected]>
  • Loading branch information
Rdataflow and tpluscode authored Apr 25, 2024
1 parent 971d56d commit 818acbd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/rotten-needles-mate.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"cube-link": patch
---

`profile-visualize`: Correct wording of scale type constraint
10 changes: 5 additions & 5 deletions test/profile-visualize/invalid-scale-types.ttl.approved.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ _:report a sh:ValidationReport ;
sh:focusNode <observationConstraint> ;
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 ;
Expand All @@ -36,7 +36,7 @@ _:report a sh:ValidationReport ;
sh:focusNode <observationConstraint> ;
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 ;
Expand All @@ -46,7 +46,7 @@ _:report a sh:ValidationReport ;
sh:focusNode <observationConstraint> ;
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 ;
Expand All @@ -55,7 +55,7 @@ _:report a sh:ValidationReport ;
sh:focusNode <observationConstraint> ;
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 .

Expand All @@ -68,4 +68,4 @@ _:b643 sh:path sh:property ;
sh:node <https://cube.link/shape/profile-visualize#ObservationConstraintCoreProperty> ;
]
) ;
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" .
2 changes: 1 addition & 1 deletion validation/profile-visualize.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ prefix : <https://cube.link/shape/profile-visualize#>
]
) ;
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" ;
]
.

Expand Down

0 comments on commit 818acbd

Please sign in to comment.