-
Notifications
You must be signed in to change notification settings - Fork 34
/
pattern.ttl
65 lines (58 loc) · 2.07 KB
/
pattern.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# imports: https://ontology.unifiedcyberontology.org/uco/core/1.2.0
@prefix core: <https://ontology.unifiedcyberontology.org/uco/core/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix pattern: <https://ontology.unifiedcyberontology.org/uco/pattern/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
<https://ontology.unifiedcyberontology.org/uco/pattern>
a owl:Ontology ;
rdfs:label "uco-pattern"@en ;
owl:backwardCompatibleWith pattern:1.1.0 ;
owl:imports core:1.2.0 ;
owl:priorVersion pattern:1.1.0 ;
owl:versionIRI pattern:1.2.0 ;
.
pattern:LogicalPattern
a
owl:Class ,
sh:NodeShape
;
rdfs:subClassOf pattern:Pattern ;
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:datatype pattern:PatternExpression ;
sh:maxCount "1"^^xsd:integer ;
sh:nodeKind sh:Literal ;
sh:path pattern:patternExpression ;
] ;
sh:targetClass pattern:LogicalPattern ;
.
pattern:Pattern
a
owl:Class ,
sh:NodeShape
;
rdfs:subClassOf core:UcoObject ;
rdfs:label "Pattern"@en ;
rdfs:comment "A pattern is a combination of properties, acts, tendencies, etc., forming a consistent or characteristic arrangement."@en ;
sh:targetClass pattern:Pattern ;
.
pattern:PatternExpression
a
owl:Class ,
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:targetClass pattern:PatternExpression ;
.
pattern:patternExpression
a owl:DatatypeProperty ;
rdfs:label "patternExpression"@en ;
rdfs:comment "An explicit logical pattern expression."@en ;
rdfs:range pattern:PatternExpression ;
.