-
Notifications
You must be signed in to change notification settings - Fork 1
/
intent.ttl
293 lines (201 loc) · 11.9 KB
/
intent.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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
@prefix : <http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#> .
@prefix nm: <http://raw.githubusercontent.com/Guilvareux/ontologies/main/network/network#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@base <http://www.w3.org/2002/07/owl#> .
<http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent> rdf:type owl:Ontology ;
owl:imports <http://raw.githubusercontent.com/Guilvareux/ontologies/main/examples/tmf_example/service> ,
<http://raw.githubusercontent.com/Guilvareux/ontologies/main/network/network> .
#################################################################
# Classes
#################################################################
:Replicator rdf:type owl:Class ;
rdfs:subClassOf owl:Class .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/network/network#DeploymentUnitSpecification
:DeploymentUnitSpecification rdf:type owl:Class ;
rdfs:subClassOf :VirtualDeviceSpecification .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/network/network#DeviceSpecification
:DeviceSpecification rdf:type owl:Class ;
rdfs:subClassOf owl:Class .
:FunctionSpecification rdf:type owl:Class ;
rdfs:subClassOf :Specification .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/network/network#FunctionChainSpecification
:FunctionChainSpecification rdf:type owl:Class ;
rdfs:subClassOf :Specification .
:HostSpecification rdf:type owl:Class ;
rdfs:subClassOf :Specification .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/network/network#ServiceSpecification
:ServiceSpecification rdf:type owl:Class ;
rdfs:subClassOf :Specification .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/network/network#Specification
:Specification rdf:type owl:Class ;
rdfs:subClassOf owl:Class .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/network/network#VirtualDeviceSpecification
:VirtualDeviceSpecification rdf:type owl:Class ;
rdfs:subClassOf :DeviceSpecification .
:VirtualMachineSpecification rdf:type owl:Class ;
rdfs:subClassOf :VirtualDeviceSpecification .
:ContainerSpecification rdf:type owl:Class ;
rdfs:subClassOf :VirtualDeviceSpecification .
#################################################################
# Object Properties
#################################################################
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#connects
:connects rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :intentProperty .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#connectsToDeploymentUnit
:connectsToDeploymentUnit rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :connects .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#connectsToNetwork
:connectsToNetwork rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :connects ;
rdfs:range nm:Network .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#defines
:defines rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :intentProperty .
:definesUnique rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :intentProperty .
:definesShared rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :intentProperty .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#definesDeploymentUnit
:definesDeploymentUnit rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :defines ;
rdfs:range nm:DeploymentUnit .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#definesFunction
:definesFunction rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :defines ;
rdfs:range nm:Function .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#definesHost
:definesHost rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :defines ;
rdfs:domain :Intent ;
rdfs:range nm:Host .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#definesNetwork
:definesNetwork rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :defines ;
rdfs:domain :Intent ;
rdfs:range nm:Network .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#definesService
:definesService rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :defines ;
rdfs:domain :Intent ;
rdfs:range nm:Service .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#executesIn
:executesIn rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :intentProperty ;
rdfs:range nm:ExecutionEnvironment .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#executesOn
:executesOn rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :intentProperty ;
rdfs:domain owl:Class .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#intentProperty
:intentProperty rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#maxReplication
:maxReplication rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#minReplication
:minReplication rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires .
:defaultReplication rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires .
:replicates rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#replication
:replication rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#requiredBy
:requiredBy rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf owl:topObjectProperty ;
owl:inverseOf :requires .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#requires
:requires rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :intentProperty ,
owl:topObjectProperty .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#requiresDeploymentUnit
:requiresDeploymentUnit rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires ;
rdfs:range :DeploymentUnitSpecification .
:requiresVirtualDevice rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires ;
rdfs:range :VirtualDeviceSpecification .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#requiresFunction
:requiresFunction rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires ;
rdfs:range :FunctionSpecification .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#requiresFunctionChain
:requiresFunctionChain rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires ;
rdfs:range :FunctionChainSpecification .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#requiresHost
:requiresHost rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires ;
rdfs:range :HostSpecification .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#requiresNetwork
:requiresNetwork rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires .
:requiresRole rdf:type owl:ObjectProperty ;
rdfs:subPropertyOf :requires .
#################################################################
# Data properties
#################################################################
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#containerParameter
:containerParameter rdf:type owl:DatatypeProperty .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#flavorParameter
:flavorParameter rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#maxReplication
:maxReplication rdf:type owl:DatatypeProperty ;
rdfs:range xsd:unsignedInt .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#minCPURequirement
:minCPURequirement rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf :flavorParameter ;
rdfs:domain nm:VirtualMachine ;
rdfs:range xsd:unsignedInt .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#minInstanceNumber
:minInstanceNumber rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf :virtualDeviceParameter ;
rdfs:domain nm:VirtualDevice ;
rdfs:range xsd:unsignedInt .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#minMemoryRequirement
:minMemoryRequirement rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf :flavorParameter ;
rdfs:domain nm:VirtualMachine ;
rdfs:range xsd:double .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#minReplication
:minReplication rdf:type owl:DatatypeProperty ;
rdfs:range xsd:unsignedInt .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#minStorageRequirement
:minStorageRequirement rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf :flavorParameter ;
rdfs:domain nm:VirtualMachine ;
rdfs:range xsd:double .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#networkModeRequirement
:networkModeRequirement rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf :containerParameter .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#replication
:replication rdf:type owl:DatatypeProperty ;
rdfs:range xsd:unsignedInt .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#virtualDeviceParameter
:virtualDeviceParameter rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf owl:topDataProperty .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#volumeRequirement
:volumeRequirement rdf:type owl:DatatypeProperty ;
rdfs:subPropertyOf :containerParameter .
#################################################################
# Classes
#################################################################
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#Intent
:Intent rdf:type owl:Class ;
rdfs:subClassOf owl:Class .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#Variable
:Variable rdf:type owl:Class ;
rdfs:subClassOf owl:Class .
:VariableSpecification rdf:type owl:Class ;
rdfs:subClassOf owl:Class .
### http://raw.githubusercontent.com/Guilvareux/ontologies/main/intent/intent#blankType
:BlankType rdf:type owl:Class ;
rdfs:subClassOf owl:Class .