-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDiagramLayout.ttl
211 lines (202 loc) · 13.8 KB
/
DiagramLayout.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
@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#> .
<Diagram> rdf:type rdfs:Class ;
rdfs:subClassOf <IdentifiedObject> ;
rdfs:label "Diagram"@en ;
rdfs:comment "The diagram being exchanged. The coordinate system is a standard Cartesian coordinate system and the orientation attribute defines the orientation. The initial view related attributes can be used to specify an initial view with the x,y coordinates of the diagonal points."^^rdf:XMLLiteral .
<Diagram.orientation> rdf:type rdfs:Property ;
rdfs:label "orientation"@en ;
rdfs:domain <Diagram> ;
rdfs:range xsd:string ;
rdfs:comment "Coordinate system orientation of the diagram. A positive orientation gives standard “right-hand” orientation, with negative orientation indicating a “left-hand” orientation. For 2D diagrams, a positive orientation will result in X values increasing from left to right and Y values increasing from bottom to top. A negative orientation gives the “left-hand” orientation (favoured by computer graphics displays) with X values increasing from left to right and Y values increasing from top to bottom."^^rdf:XMLLiteral .
<Diagram.x1InitialView> rdf:type rdfs:Property ;
rdfs:label "x1InitialView"@en ;
rdfs:domain <Diagram> ;
rdfs:range xsd:double ;
rdfs:comment "X coordinate of the first corner of the initial view."^^rdf:XMLLiteral .
<Diagram.x2InitialView> rdf:type rdfs:Property ;
rdfs:label "x2InitialView"@en ;
rdfs:domain <Diagram> ;
rdfs:range xsd:double ;
rdfs:comment "X coordinate of the second corner of the initial view."^^rdf:XMLLiteral .
<Diagram.y1InitialView> rdf:type rdfs:Property ;
rdfs:label "y1InitialView"@en ;
rdfs:domain <Diagram> ;
rdfs:range xsd:double ;
rdfs:comment "Y coordinate of the first corner of the initial view."^^rdf:XMLLiteral .
<Diagram.y2InitialView> rdf:type rdfs:Property ;
rdfs:label "y2InitialView"@en ;
rdfs:domain <Diagram> ;
rdfs:range xsd:double ;
rdfs:comment "Y coordinate of the second corner of the initial view."^^rdf:XMLLiteral .
<Diagram.DiagramElements> rdf:type rdfs:Property ;
rdfs:label "DiagramElements"@en ;
rdfs:domain <Diagram> ;
rdfs:range <DiagramObject> ;
rdfs:comment "A diagram is made up of multiple diagram objects."^^rdf:XMLLiteral .
<Diagram.DiagramStyle> rdf:type rdfs:Property ;
rdfs:label "DiagramStyle"@en ;
rdfs:domain <Diagram> ;
rdfs:range <DiagramStyle> ;
rdfs:comment "A Diagram may have a DiagramStyle."^^rdf:XMLLiteral .
<DiagramObject> rdf:type rdfs:Class ;
rdfs:subClassOf <IdentifiedObject> ;
rdfs:label "DiagramObject"@en ;
rdfs:comment "An object that defines one or more points in a given space. This object can be associated with anything that specializes IdentifiedObject. For single line diagrams such objects typically include such items as analog values, breakers, disconnectors, power transformers, and transmission lines."^^rdf:XMLLiteral .
<DiagramObject.drawingOrder> rdf:type rdfs:Property ;
rdfs:label "drawingOrder"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range xsd:integer ;
rdfs:comment "The drawing order of this element. The higher the number, the later the element is drawn in sequence. This is used to ensure that elements that overlap are rendered in the correct order."^^rdf:XMLLiteral .
<DiagramObject.isPolygon> rdf:type rdfs:Property ;
rdfs:label "isPolygon"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range xsd:boolean ;
rdfs:comment "Defines whether or not the diagram objects points define the boundaries of a polygon or the routing of a polyline. If this value is true then a receiving application should consider the first and last points to be connected."^^rdf:XMLLiteral .
<DiagramObject.offsetX> rdf:type rdfs:Property ;
rdfs:label "offsetX"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range xsd:double ;
rdfs:comment "The offset in the X direction. This is used for defining the offset from centre for rendering an icon (the default is that a single point specifies the centre of the icon).\n\nThe offset is in per-unit with 0 indicating there is no offset from the horizontal centre of the icon. -0.5 indicates it is offset by 50% to the left and 0.5 indicates an offset of 50% to the right."^^rdf:XMLLiteral .
<DiagramObject.offsetY> rdf:type rdfs:Property ;
rdfs:label "offsetY"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range xsd:double ;
rdfs:comment "The offset in the Y direction. This is used for defining the offset from centre for rendering an icon (the default is that a single point specifies the centre of the icon).\n\nThe offset is in per-unit with 0 indicating there is no offset from the vertical centre of the icon. The offset direction is dependent on the orientation of the diagram, with -0.5 and 0.5 indicating an offset of +/- 50% on the vertical axis."^^rdf:XMLLiteral .
<DiagramObject.rotation> rdf:type rdfs:Property ;
rdfs:label "rotation"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range xsd:double ;
rdfs:comment "Sets the angle of rotation of the diagram object. Zero degrees is pointing to the top of the diagram. Rotation is clockwise. DiagramObject.rotation=0 has the following meaning: The connection point of an element which has one terminal is pointing to the top side of the diagram. The connection point \"From side\" of an element which has more than one terminal is pointing to the top side of the diagram.\nDiagramObject.rotation=90 has the following meaning: The connection point of an element which has one terminal is pointing to the right hand side of the diagram. The connection point \"From side\" of an element which has more than one terminal is pointing to the right hand side of the diagram."^^rdf:XMLLiteral .
<DiagramObject.DiagramObjectStyle> rdf:type rdfs:Property ;
rdfs:label "DiagramObjectStyle"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range <DiagramObjectStyle> ;
rdfs:comment "A diagram object has a style associated that provides a reference for the style used in the originating system."^^rdf:XMLLiteral .
<DiagramObject.IdentifiedObject> rdf:type rdfs:Property ;
rdfs:label "IdentifiedObject"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range <IdentifiedObject> ;
rdfs:comment "The domain object to which this diagram object is associated."^^rdf:XMLLiteral .
<DiagramObject.Diagram> rdf:type rdfs:Property ;
rdfs:label "Diagram"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range <Diagram> ;
rdfs:comment "A diagram object is part of a diagram."^^rdf:XMLLiteral .
<DiagramObject.VisibilityLayers> rdf:type rdfs:Property ;
rdfs:label "VisibilityLayers"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range <VisibilityLayer> ;
rdfs:comment "A diagram object can be part of multiple visibility layers."^^rdf:XMLLiteral .
<DiagramObject.DiagramObjectPoints> rdf:type rdfs:Property ;
rdfs:label "DiagramObjectPoints"@en ;
rdfs:domain <DiagramObject> ;
rdfs:range <DiagramObjectPoint> ;
rdfs:comment "A diagram object can have 0 or more points to reflect its layout position, routing (for polylines) or boundary (for polygons)."^^rdf:XMLLiteral .
<DiagramObjectGluePoint> rdf:type rdfs:Class ;
rdfs:label "DiagramObjectGluePoint"@en ;
rdfs:comment "This is used for grouping diagram object points from different diagram objects that are considered to be glued together in a diagram even if they are not at the exact same coordinates."^^rdf:XMLLiteral .
<DiagramObjectGluePoint.DiagramObjectPoints> rdf:type rdfs:Property ;
rdfs:label "DiagramObjectPoints"@en ;
rdfs:domain <DiagramObjectGluePoint> ;
rdfs:range <DiagramObjectPoint> ;
rdfs:comment "A diagram object glue point is associated with 2 or more object points that are considered to be 'glued' together."^^rdf:XMLLiteral .
<DiagramObjectPoint> rdf:type rdfs:Class ;
rdfs:label "DiagramObjectPoint"@en ;
rdfs:comment "A point in a given space defined by 3 coordinates and associated to a diagram object. The coordinates may be positive or negative as the origin does not have to be in the corner of a diagram. "^^rdf:XMLLiteral .
<DiagramObjectPoint.sequenceNumber> rdf:type rdfs:Property ;
rdfs:label "sequenceNumber"@en ;
rdfs:domain <DiagramObjectPoint> ;
rdfs:range xsd:integer ;
rdfs:comment "The sequence position of the point, used for defining the order of points for diagram objects acting as a polyline or polygon with more than one point. The attribute shall be a positive value."^^rdf:XMLLiteral .
<DiagramObjectPoint.xPosition> rdf:type rdfs:Property ;
rdfs:label "xPosition"@en ;
rdfs:domain <DiagramObjectPoint> ;
rdfs:range xsd:double ;
rdfs:comment "The X coordinate of this point."^^rdf:XMLLiteral .
<DiagramObjectPoint.yPosition> rdf:type rdfs:Property ;
rdfs:label "yPosition"@en ;
rdfs:domain <DiagramObjectPoint> ;
rdfs:range xsd:double ;
rdfs:comment "The Y coordinate of this point."^^rdf:XMLLiteral .
<DiagramObjectPoint.zPosition> rdf:type rdfs:Property ;
rdfs:label "zPosition"@en ;
rdfs:domain <DiagramObjectPoint> ;
rdfs:range xsd:double ;
rdfs:comment "The Z coordinate of this point."^^rdf:XMLLiteral .
<DiagramObjectPoint.DiagramObjectGluePoint> rdf:type rdfs:Property ;
rdfs:label "DiagramObjectGluePoint"@en ;
rdfs:domain <DiagramObjectPoint> ;
rdfs:range <DiagramObjectGluePoint> ;
rdfs:comment "The 'glue' point to which this point is associated."^^rdf:XMLLiteral .
<DiagramObjectPoint.DiagramObject> rdf:type rdfs:Property ;
rdfs:label "DiagramObject"@en ;
rdfs:domain <DiagramObjectPoint> ;
rdfs:range <DiagramObject> ;
rdfs:comment "The diagram object with which the points are associated."^^rdf:XMLLiteral .
<DiagramObjectStyle> rdf:type rdfs:Class ;
rdfs:subClassOf <IdentifiedObject> ;
rdfs:label "DiagramObjectStyle"@en ;
rdfs:comment "A reference to a style used by the originating system for a diagram object. A diagram object style describes information such as line thickness, shape such as circle or rectangle etc, and colour."^^rdf:XMLLiteral .
<DiagramObjectStyle.StyledObjects> rdf:type rdfs:Property ;
rdfs:label "StyledObjects"@en ;
rdfs:domain <DiagramObjectStyle> ;
rdfs:range <DiagramObject> ;
rdfs:comment "A style can be assigned to multiple diagram objects."^^rdf:XMLLiteral .
<DiagramStyle> rdf:type rdfs:Class ;
rdfs:subClassOf <IdentifiedObject> ;
rdfs:label "DiagramStyle"@en ;
rdfs:comment "The diagram style refers to a style used by the originating system for a diagram. A diagram style describes information such as schematic, geographic, etc."^^rdf:XMLLiteral .
<DiagramStyle.Diagram> rdf:type rdfs:Property ;
rdfs:label "Diagram"@en ;
rdfs:domain <DiagramStyle> ;
rdfs:range <Diagram> ;
rdfs:comment "A DiagramStyle can be used by many Diagrams."^^rdf:XMLLiteral .
<IdentifiedObject> rdf:type rdfs:Class ;
rdfs:label "IdentifiedObject"@en ;
rdfs:comment "This is a root class to provide common identification for all classes needing identification and naming attributes."^^rdf:XMLLiteral .
<IdentifiedObject.description> rdf:type rdfs:Property ;
rdfs:label "description"@en ;
rdfs:domain <IdentifiedObject> ;
rdfs:range xsd:string ;
rdfs:comment "The description is a free human readable text describing or naming the object. It may be non unique and may not correlate to a naming hierarchy."^^rdf:XMLLiteral .
<IdentifiedObject.mRID> rdf:type rdfs:Property ;
rdfs:label "mRID"@en ;
rdfs:domain <IdentifiedObject> ;
rdfs:range xsd:string ;
rdfs:comment "Master resource identifier issued by a model authority. The mRID is unique within an exchange context. Global uniqueness is easily achieved by using a UUID, as specified in RFC 4122, for the mRID. The use of UUID is strongly recommended.\nFor CIMXML data files in RDF syntax conforming to IEC 61970-552, the mRID is mapped to rdf:ID or rdf:about attributes that identify CIM object elements."^^rdf:XMLLiteral .
<IdentifiedObject.name> rdf:type rdfs:Property ;
rdfs:label "name"@en ;
rdfs:domain <IdentifiedObject> ;
rdfs:range xsd:string ;
rdfs:comment "The name is any free human readable and possibly non unique text naming the object."^^rdf:XMLLiteral .
<IdentifiedObject.DiagramObjects> rdf:type rdfs:Property ;
rdfs:label "DiagramObjects"@en ;
rdfs:domain <IdentifiedObject> ;
rdfs:range <DiagramObject> ;
rdfs:comment "The diagram objects that are associated with the domain object."^^rdf:XMLLiteral .
<TextDiagramObject> rdf:type rdfs:Class ;
rdfs:subClassOf <DiagramObject> ;
rdfs:label "TextDiagramObject"@en ;
rdfs:comment "A diagram object for placing free-text or text derived from an associated domain object."^^rdf:XMLLiteral .
<TextDiagramObject.text> rdf:type rdfs:Property ;
rdfs:label "text"@en ;
rdfs:domain <TextDiagramObject> ;
rdfs:range xsd:string ;
rdfs:comment "The text that is displayed by this text diagram object."^^rdf:XMLLiteral .
<VisibilityLayer> rdf:type rdfs:Class ;
rdfs:subClassOf <IdentifiedObject> ;
rdfs:label "VisibilityLayer"@en ;
rdfs:comment "Layers are typically used for grouping diagram objects according to themes and scales. Themes are used to display or hide certain information (e.g., lakes, borders), while scales are used for hiding or displaying information depending on the current zoom level (hide text when it is too small to be read, or when it exceeds the screen size). This is also called de-cluttering.\nCIM based graphics exchange supports an m:n relationship between diagram objects and layers. The importing system shall convert an m:n case into an appropriate 1:n representation if the importing system does not support m:n."^^rdf:XMLLiteral .
<VisibilityLayer.drawingOrder> rdf:type rdfs:Property ;
rdfs:label "drawingOrder"@en ;
rdfs:domain <VisibilityLayer> ;
rdfs:range xsd:integer ;
rdfs:comment "The drawing order for this layer. The higher the number, the later the layer and the objects within it are rendered."^^rdf:XMLLiteral .
<VisibilityLayer.VisibleObjects> rdf:type rdfs:Property ;
rdfs:label "VisibleObjects"@en ;
rdfs:domain <VisibilityLayer> ;
rdfs:range <DiagramObject> ;
rdfs:comment "A visibility layer can contain one or more diagram objects."^^rdf:XMLLiteral .