Skip to content

Commit

Permalink
Replace PatternExpression with xsd:string
Browse files Browse the repository at this point in the history
No effects were observed on Make-managed files.

References:
* #562

Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Apr 30, 2024
1 parent 1b5c305 commit 9978efb
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions ontology/uco/pattern/pattern.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ pattern:LogicalPattern
rdfs:label "LogicalPattern"@en ;
rdfs:comment "A logical pattern is a grouping of characteristics unique to an informational pattern expressed via a structured pattern expression following the rules of logic."@en ;
sh:property [
sh:class pattern:PatternExpression ;
sh:datatype xsd:string ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:IRI ;
sh:nodeKind sh:Literal ;
sh:path pattern:patternExpression ;
] ;
sh:targetClass pattern:LogicalPattern ;
Expand All @@ -48,18 +48,24 @@ pattern:Pattern
pattern:PatternExpression
a
owl:Class ,
owl:DeprecatedClass ,
sh:NodeShape
;
rdfs:subClassOf core:UcoInherentCharacterizationThing ;
rdfs:label "PatternExpression"@en ;
rdfs:comment "A pattern expression is a grouping of characteristics unique to an explicit logical expression defining a pattern (e.g., regular expression, SQL Select expression, etc.)."@en ;
sh:message "pattern:PatternExpression is deprecated, and an error to use as of UCO 2.0.0. xsd:string should be used instead." ;
sh:not [
a sh:NodeShape ;
sh:class pattern:PatternExpression ;
] ;
sh:targetClass pattern:PatternExpression ;
.

pattern:patternExpression
a owl:ObjectProperty ;
a owl:DatatypeProperty ;
rdfs:label "patternExpression"@en ;
rdfs:comment "An explicit logical pattern expression."@en ;
rdfs:range pattern:PatternExpression ;
rdfs:range xsd:string ;
.

0 comments on commit 9978efb

Please sign in to comment.