-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDiagramLayoutShape.ttl
259 lines (235 loc) · 12.6 KB
/
DiagramLayoutShape.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
@base <http://iec.ch/TC57/2013/CIM-schema-cim16#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
<DiagramShape> rdf:type sh:NodeShape ;
sh:targetClass <Diagram> ;
sh:property _:DiagramShape.orientation , _:DiagramShape.x1InitialView , _:DiagramShape.x2InitialView , _:DiagramShape.y1InitialView , _:DiagramShape.y2InitialView , _:DiagramShape.DiagramElements , _:DiagramShape.DiagramStyle , _:IdentifiedObjectShape.description , _:IdentifiedObjectShape.mRID , _:IdentifiedObjectShape.name , _:IdentifiedObjectShape.DiagramObjects .
_:DiagramShape.orientation rdf:type sh:PropertyShape ;
sh:path <Diagram.orientation> ;
sh:datatype xsd:string ;
sh:minCount "1"^^xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:in _:OrientationKind ;
sh:name "Orientation"@en ;
sh:description "Coordinate system orientation of the diagram."^^rdf:XMLLiteral .
_:DiagramShape.x1InitialView rdf:type sh:PropertyShape ;
sh:path <Diagram.x1InitialView> ;
sh:datatype xsd:double ;
sh:maxCount "1"^^xsd:integer ;
sh:name "X1 Initial View"@en ;
sh:description "X coordinate of the first corner of the initial view."^^rdf:XMLLiteral .
_:DiagramShape.x2InitialView rdf:type sh:PropertyShape ;
sh:path <Diagram.x2InitialView> ;
sh:datatype xsd:double ;
sh:maxCount "1"^^xsd:integer ;
sh:name "X2 Initial View"@en ;
sh:description "X coordinate of the second corner of the initial view."^^rdf:XMLLiteral .
_:DiagramShape.y1InitialView rdf:type sh:PropertyShape ;
sh:path <Diagram.y1InitialView> ;
sh:datatype xsd:double ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Y1 Initial View"@en ;
sh:description "Y coordinate of the first corner of the initial view."^^rdf:XMLLiteral .
_:DiagramShape.y2InitialView rdf:type sh:PropertyShape ;
sh:path <Diagram.y2InitialView> ;
sh:datatype xsd:double ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Y2 Initial View"@en ;
sh:description "Y coordinate of the second corner of the initial view."^^rdf:XMLLiteral .
_:DiagramShape.DiagramElements rdf:type sh:PropertyShape ;
sh:path <Diagram.DiagramElements> ;
sh:class <DiagramObject> ;
sh:name "Diagram Elements"@en ;
sh:description "A diagram is made up of multiple diagram objects."^^rdf:XMLLiteral .
_:DiagramShape.DiagramStyle rdf:type sh:PropertyShape ;
sh:path <Diagram.DiagramStyle> ;
sh:class <DiagramStyle> ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Diagram Style"@en ;
sh:description "A Diagram may have a DiagramStyle."^^rdf:XMLLiteral .
<DiagramObjectShape> rdf:type sh:NodeShape ;
sh:targetClass <DiagramObject> ;
sh:property _:DiagramObjectShape.drawingOrder , _:DiagramObjectShape.isPolygon , _:DiagramObjectShape.offsetX , _:DiagramObjectShape.offsetY , _:DiagramObjectShape.rotation , _:DiagramObjectShape.DiagramObjectStyle , _:DiagramObjectShape.IdentifiedObject , _:DiagramObjectShape.Diagram , _:DiagramObjectShape.VisibilityLayers , _:DiagramObjectShape.DiagramObjectPoints , _:IdentifiedObjectShape.description , _:IdentifiedObjectShape.mRID , _:IdentifiedObjectShape.name , _:IdentifiedObjectShape.DiagramObjects .
_:DiagramObjectShape.drawingOrder rdf:type sh:PropertyShape ;
sh:path <DiagramObject.drawingOrder> ;
sh:datatype xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Drawing Order"@en ;
sh:description "The drawing order of this element."^^rdf:XMLLiteral .
_:DiagramObjectShape.isPolygon rdf:type sh:PropertyShape ;
sh:path <DiagramObject.isPolygon> ;
sh:datatype xsd:boolean ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Is Polygon"@en ;
sh:description "Defines whether or not the diagram objects points define the boundaries of a polygon or the routing of a polyline."^^rdf:XMLLiteral .
_:DiagramObjectShape.offsetX rdf:type sh:PropertyShape ;
sh:path <DiagramObject.offsetX> ;
sh:datatype xsd:double ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Offset X"@en ;
sh:description "The offset in the X direction."^^rdf:XMLLiteral .
_:DiagramObjectShape.offsetY rdf:type sh:PropertyShape ;
sh:path <DiagramObject.offsetY> ;
sh:datatype xsd:double ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Offset Y"@en ;
sh:description "The offset in the Y direction."^^rdf:XMLLiteral .
_:DiagramObjectShape.rotation rdf:type sh:PropertyShape ;
sh:path <DiagramObject.rotation> ;
sh:datatype xsd:double ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Rotation"@en ;
sh:description "Sets the angle of rotation of the diagram object."^^rdf:XMLLiteral .
_:DiagramObjectShape.DiagramObjectStyle rdf:type sh:PropertyShape ;
sh:path <DiagramObject.DiagramObjectStyle> ;
sh:class <DiagramObjectStyle> ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Diagram Object Style"@en ;
sh:description "A diagram object has a style associated that provides a reference for the style used in the originating system."^^rdf:XMLLiteral .
_:DiagramObjectShape.IdentifiedObject rdf:type sh:PropertyShape ;
sh:path <DiagramObject.IdentifiedObject> ;
sh:class <IdentifiedObject> ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Identified Object"@en ;
sh:description "The domain object to which this diagram object is associated."^^rdf:XMLLiteral .
_:DiagramObjectShape.Diagram rdf:type sh:PropertyShape ;
sh:path <DiagramObject.Diagram> ;
sh:class <Diagram> ;
sh:minCount "1"^^xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Diagram"@en ;
sh:description "A diagram object is part of a diagram."^^rdf:XMLLiteral .
_:DiagramObjectShape.VisibilityLayers rdf:type sh:PropertyShape ;
sh:path <DiagramObject.VisibilityLayers> ;
sh:class <VisibilityLayer> ;
sh:name "Visibility Layers"@en ;
sh:description "A diagram object can be part of multiple visibility layers."^^rdf:XMLLiteral .
_:DiagramObjectShape.DiagramObjectPoints rdf:type sh:PropertyShape ;
sh:path <DiagramObject.DiagramObjectPoints> ;
sh:class <DiagramObjectPoint> ;
sh:name "Diagram Object Points"@en .
<DiagramObjectGluePointShape> rdf:type sh:NodeShape ;
sh:targetClass <DiagramObjectGluePoint> ;
sh:property _:DiagramObjectGluePointShape.DiagramObjectPoints .
_:DiagramObjectGluePointShape.DiagramObjectPoints rdf:type sh:PropertyShape ;
sh:path <DiagramObjectGluePoint.DiagramObjectPoints> ;
sh:class <DiagramObjectPoint> ;
sh:minCount "2"^^xsd:integer ;
sh:name "Diagram Object Points"@en ;
sh:description "A diagram object glue point is associated with 2 or more object points that are considered to be 'glued' together."^^rdf:XMLLiteral .
<DiagramObjectPointShape> rdf:type sh:NodeShape ;
sh:targetClass <DiagramObjectPoint> ;
sh:property _:DiagramObjectPointShape.sequenceNumber , _:DiagramObjectPointShape.xPosition , _:DiagramObjectPointShape.yPosition , _:DiagramObjectPointShape.zPosition , _:DiagramObjectPointShape.DiagramObjectGluePoint , _:DiagramObjectPointShape.DiagramObject .
_:DiagramObjectPointShape.sequenceNumber rdf:type sh:PropertyShape ;
sh:path <DiagramObjectPoint.sequenceNumber> ;
sh:datatype xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Sequence Number"@en .
_:DiagramObjectPointShape.xPosition rdf:type sh:PropertyShape ;
sh:path <DiagramObjectPoint.xPosition> ;
sh:datatype xsd:double ;
sh:minCount "1"^^xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "X Position"@en ;
sh:description "The X coordinate of this point."^^rdf:XMLLiteral .
_:DiagramObjectPointShape.yPosition rdf:type sh:PropertyShape ;
sh:path <DiagramObjectPoint.yPosition> ;
sh:datatype xsd:double ;
sh:minCount "1"^^xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Y Position"@en ;
sh:description "The Y coordinate of this point."^^rdf:XMLLiteral .
_:DiagramObjectPointShape.zPosition rdf:type sh:PropertyShape ;
sh:path <DiagramObjectPoint.zPosition> ;
sh:datatype xsd:double ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Z Position"@en ;
sh:description "The Z coordinate of this point."^^rdf:XMLLiteral .
_:DiagramObjectPointShape.DiagramObjectGluePoint rdf:type sh:PropertyShape ;
sh:path <DiagramObjectPoint.DiagramObjectGluePoint> ;
sh:class <DiagramObjectGluePoint> ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Diagram Object Glue Point"@en ;
sh:description "The 'glue' point to which this point is associated."^^rdf:XMLLiteral .
_:DiagramObjectPointShape.DiagramObject rdf:type sh:PropertyShape ;
sh:path <DiagramObjectPoint.DiagramObject> ;
sh:class <DiagramObject> ;
sh:minCount "1"^^xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Diagram Object"@en ;
sh:description "The diagram object with which the points are associated."^^rdf:XMLLiteral .
<DiagramObjectStyleShape> rdf:type sh:NodeShape ;
sh:targetClass <DiagramObjectStyle> ;
sh:property _:DiagramObjectStyleShape.StyledObjects , _:IdentifiedObjectShape.description , _:IdentifiedObjectShape.mRID , _:IdentifiedObjectShape.name , _:IdentifiedObjectShape.DiagramObjects .
_:DiagramObjectStyleShape.StyledObjects rdf:type sh:PropertyShape ;
sh:path <DiagramObjectStyle.StyledObjects> ;
sh:class <DiagramObject> ;
sh:name "Styled Objects"@en ;
sh:description "A style can be assigned to multiple diagram objects."^^rdf:XMLLiteral .
<DiagramStyleShape> rdf:type sh:NodeShape ;
sh:targetClass <DiagramStyle> ;
sh:property _:DiagramStyleShape.Diagram , _:IdentifiedObjectShape.description , _:IdentifiedObjectShape.mRID , _:IdentifiedObjectShape.name , _:IdentifiedObjectShape.DiagramObjects .
_:DiagramStyleShape.Diagram rdf:type sh:PropertyShape ;
sh:path <DiagramStyle.Diagram> ;
sh:class <Diagram> ;
sh:name "Diagram"@en ;
sh:description "A DiagramStyle can be used by many Diagrams."^^rdf:XMLLiteral .
<IdentifiedObjectShape> rdf:type sh:NodeShape ;
sh:targetClass <IdentifiedObject> ;
sh:closed "true"^^xsd:boolean .
_:IdentifiedObjectShape.description rdf:type sh:PropertyShape ;
sh:path <IdentifiedObject.description> ;
sh:datatype xsd:string ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Description"@en ;
sh:description "The description is a free human readable text describing or naming the object."^^rdf:XMLLiteral .
_:IdentifiedObjectShape.mRID rdf:type sh:PropertyShape ;
sh:path <IdentifiedObject.mRID> ;
sh:datatype xsd:string ;
sh:minCount "1"^^xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "MRID"@en ;
sh:description "Master resource identifier issued by a model authority."^^rdf:XMLLiteral .
_:IdentifiedObjectShape.name rdf:type sh:PropertyShape ;
sh:path <IdentifiedObject.name> ;
sh:datatype xsd:string ;
sh:minCount "1"^^xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Name"@en ;
sh:description "The name is any free human readable and possibly non unique text naming the object."^^rdf:XMLLiteral .
_:IdentifiedObjectShape.DiagramObjects rdf:type sh:PropertyShape ;
sh:path <IdentifiedObject.DiagramObjects> ;
sh:class <DiagramObject> ;
sh:name "Diagram Objects"@en ;
sh:description "The diagram objects that are associated with the domain object."^^rdf:XMLLiteral .
<TextDiagramObjectShape> rdf:type sh:NodeShape ;
sh:targetClass <TextDiagramObject> ;
sh:property _:TextDiagramObjectShape.text , _:DiagramObjectShape.drawingOrder , _:DiagramObjectShape.isPolygon , _:DiagramObjectShape.offsetX , _:DiagramObjectShape.offsetY , _:DiagramObjectShape.rotation , _:IdentifiedObjectShape.description , _:IdentifiedObjectShape.mRID , _:IdentifiedObjectShape.name , _:DiagramObjectShape.DiagramObjectStyle , _:DiagramObjectShape.IdentifiedObject , _:DiagramObjectShape.Diagram , _:DiagramObjectShape.VisibilityLayers , _:DiagramObjectShape.DiagramObjectPoints , _:IdentifiedObjectShape.DiagramObjects .
_:TextDiagramObjectShape.text rdf:type sh:PropertyShape ;
sh:path <TextDiagramObject.text> ;
sh:datatype xsd:string ;
sh:minCount "1"^^xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Text"@en ;
sh:description "The text that is displayed by this text diagram object."^^rdf:XMLLiteral .
<VisibilityLayerShape> rdf:type sh:NodeShape ;
sh:targetClass <VisibilityLayer> ;
sh:property _:VisibilityLayerShape.drawingOrder , _:VisibilityLayerShape.VisibleObjects , _:IdentifiedObjectShape.description , _:IdentifiedObjectShape.mRID , _:IdentifiedObjectShape.name , _:IdentifiedObjectShape.DiagramObjects .
_:VisibilityLayerShape.drawingOrder rdf:type sh:PropertyShape ;
sh:path <VisibilityLayer.drawingOrder> ;
sh:datatype xsd:integer ;
sh:maxCount "1"^^xsd:integer ;
sh:name "Drawing Order"@en ;
sh:description "The drawing order for this layer."^^rdf:XMLLiteral .
_:VisibilityLayerShape.VisibleObjects rdf:type sh:PropertyShape ;
sh:path <VisibilityLayer.VisibleObjects> ;
sh:class <DiagramObject> ;
sh:minCount "1"^^xsd:integer ;
sh:name "Visible Objects"@en ;
sh:description "A visibility layer can contain one or more diagram objects."^^rdf:XMLLiteral .
_:OrientationKind rdf:first "positive" ;
rdf:rest _:OrientationKind.negative .
_:OrientationKind.negative rdf:first "negative" ;
rdf:rest rdf:nil .