summaryrefslogtreecommitdiffstats
path: root/Monitoring/src/main/python/monitoringmodel/monitoringQuery_example.owl
blob: 6d9bc5ee069755cf254c6484af24e6f03a1df1e7 (plain)
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
<?xml version="1.0"?>


<!DOCTYPE rdf:RDF [
    <!ENTITY im "http://fp7-novi.eu/im.owl#" >
    <!ENTITY unit "http://fp7-novi.eu/unit.owl#" >
    <!ENTITY owl "http://www.w3.org/2002/07/owl#" >
    <!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
    <!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
    <!ENTITY monitoring_stat "http://fp7-novi.eu/monitoring_stat.owl#" >
    <!ENTITY monitoring_query "http://fp7-novi.eu/monitoring_query.owl#" >
    <!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
    <!ENTITY monitoring_features "http://fp7-novi.eu/monitoring_features.owl#" >
    <!ENTITY monitoring_parameter "http://fp7-novi.eu/monitoring_parameter.owl#" >
    <!ENTITY smilax1 "http://fp7-novi.eu/im.owl#smilax1.man.poznan.pl:" >
]>


<rdf:RDF xmlns="http://fp7-novi.eu/monitoringQuery_example.owl#"
     xml:base="http://fp7-novi.eu/monitoringQuery_example.owl"
     xmlns:smilax1="&im;smilax1.man.poznan.pl:"
     xmlns:monitoring_features="http://fp7-novi.eu/monitoring_features.owl#"
     xmlns:im="http://fp7-novi.eu/im.owl#"
     xmlns:unit="http://fp7-novi.eu/unit.owl#"
     xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
     xmlns:owl="http://www.w3.org/2002/07/owl#"
     xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
     xmlns:monitoring_stat="http://fp7-novi.eu/monitoring_stat.owl#"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
     xmlns:monitoring_query="http://fp7-novi.eu/monitoring_query.owl#"
     xmlns:monitoring_parameter="http://fp7-novi.eu/monitoring_parameter.owl#">
    <owl:Ontology rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl">
        <owl:imports rdf:resource="http://fp7-novi.eu/monitoring_query.owl"/>
    </owl:Ontology>
    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Annotation properties
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Datatypes
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- 
    ///////////////////////////////////////////////////////////////////////////////////////
    //
    // Individuals
    //
    ///////////////////////////////////////////////////////////////////////////////////////
     -->

    


    <!-- http://fp7-novi.eu/im.owl#PlanetLab_smilax1.man.poznan.pl -->

    <owl:NamedIndividual rdf:about="&im;PlanetLab_smilax1.man.poznan.pl">
        <rdf:type rdf:resource="&im;Node"/>
        <rdf:type rdf:resource="&im;Resource"/>
        <im:hasLogicalRouters rdf:datatype="&xsd;integer">0</im:hasLogicalRouters>
        <im:hasAvailableLogicalRouters rdf:datatype="&xsd;integer">0</im:hasAvailableLogicalRouters>
        <im:exclusive rdf:datatype="&xsd;boolean">false</im:exclusive>
        <im:hrn></im:hrn>
        <im:hostname>smilax1.man.poznan.pl</im:hostname>
        <im:hardwareType>plab-pc</im:hardwareType>
        <im:hasInboundInterface rdf:resource="&im;smilax1.man.poznan.pl:eth0-in"/>
        <im:hasOutboundInterface rdf:resource="&im;smilax1.man.poznan.pl:eth0-out"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/im.owl#boundResources -->

    <owl:NamedIndividual rdf:about="&im;boundResources">
        <rdf:type rdf:resource="&im;Group"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/im.owl#reqCPU -->

    <owl:NamedIndividual rdf:about="&im;reqCPU">
        <rdf:type rdf:resource="&im;CPU"/>
        <im:hasAvailableCores rdf:datatype="&xsd;integer">0</im:hasAvailableCores>
        <im:hasCores rdf:datatype="&xsd;integer">2</im:hasCores>
        <im:hasCPUSpeed rdf:datatype="&xsd;float">2.0</im:hasCPUSpeed>
        <im:exclusive rdf:datatype="&xsd;boolean">false</im:exclusive>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/im.owl#reqDisk -->

    <owl:NamedIndividual rdf:about="&im;reqDisk">
        <rdf:type rdf:resource="&im;Storage"/>
        <im:hasAvailableStorageSize rdf:datatype="&xsd;float">0.0</im:hasAvailableStorageSize>
        <im:hasStorageSize rdf:datatype="&xsd;float">10.0</im:hasStorageSize>
        <im:exclusive rdf:datatype="&xsd;boolean">false</im:exclusive>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/im.owl#reqMem -->

    <owl:NamedIndividual rdf:about="&im;reqMem">
        <rdf:type rdf:resource="&im;Memory"/>
        <im:hasAvailableMemorySize rdf:datatype="&xsd;float">0.0</im:hasAvailableMemorySize>
        <im:hasMemorySize rdf:datatype="&xsd;float">1.0</im:hasMemorySize>
        <im:exclusive rdf:datatype="&xsd;boolean">false</im:exclusive>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/im.owl#slice_1992460072 -->

    <owl:NamedIndividual rdf:about="&im;slice_1992460072">
        <rdf:type rdf:resource="&im;Group"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/im.owl#smilax1.man.poznan.pl:eth0-in -->

    <owl:NamedIndividual rdf:about="&im;smilax1.man.poznan.pl:eth0-in">
        <rdf:type rdf:resource="&im;Interface"/>
        <rdf:type rdf:resource="&im;NetworkElement"/>
        <rdf:type rdf:resource="&im;Resource"/>
        <im:hasAvailableCapacity rdf:datatype="&xsd;float">0.0</im:hasAvailableCapacity>
        <im:hasCapacity rdf:datatype="&xsd;float">0.0</im:hasCapacity>
        <im:exclusive rdf:datatype="&xsd;boolean">false</im:exclusive>
        <im:hasNetmask></im:hasNetmask>
        <im:connectedTo rdf:resource="&im;PlanetLab_smilax1.man.poznan.pl"/>
        <im:hasIPv4Address rdf:resource="http://fp7-novi.eu/monitoringQuery_example.owl#IP_smilax1"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/im.owl#smilax1.man.poznan.pl:eth0-out -->

    <owl:NamedIndividual rdf:about="&im;smilax1.man.poznan.pl:eth0-out">
        <rdf:type rdf:resource="&im;Interface"/>
        <rdf:type rdf:resource="&im;NetworkElement"/>
        <rdf:type rdf:resource="&im;Resource"/>
        <im:hasCapacity rdf:datatype="&xsd;float">0.0</im:hasCapacity>
        <im:hasAvailableCapacity rdf:datatype="&xsd;float">0.0</im:hasAvailableCapacity>
        <im:exclusive rdf:datatype="&xsd;boolean">false</im:exclusive>
        <im:hasNetmask></im:hasNetmask>
        <im:connectedTo rdf:resource="&im;PlanetLab_smilax1.man.poznan.pl"/>
        <im:hasIPv4Address rdf:resource="http://fp7-novi.eu/monitoringQuery_example.owl#IP_smilax1"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#IP_smilax1 -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#IP_smilax1">
        <rdf:type rdf:resource="&unit;IPAddress"/>
        <unit:hasValue>150.254.160.19</unit:hasValue>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#Last5Samples -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#Last5Samples">
        <rdf:type rdf:resource="&monitoring_stat;Tail"/>
        <monitoring_parameter:hasParameter rdf:resource="http://fp7-novi.eu/monitoringQuery_example.owl#SOP_tail5"/>
        <monitoring_stat:hasSample rdf:resource="&monitoring_query;UnmodifiedExtractOfFeatureSamples"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#MaxOfLast5 -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#MaxOfLast5">
        <rdf:type rdf:resource="&monitoring_stat;Maximum"/>
        <monitoring_stat:hasSample rdf:resource="http://fp7-novi.eu/monitoringQuery_example.owl#Last5Samples"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#MaxOfLast5UsedMemory -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#MaxOfLast5UsedMemory">
        <rdf:type rdf:resource="&monitoring_query;SampleManipulationQuery"/>
        <monitoring_stat:hasSample rdf:resource="http://fp7-novi.eu/monitoringQuery_example.owl#MaxOfLast5"/>
        <monitoring_features:hasFeature rdf:resource="&monitoring_features;UsedMemory"/>
        <monitoring_query:hasFormatter rdf:resource="&monitoring_query;Formatter_CSV"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#SOP_tail5 -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#SOP_tail5">
        <rdf:type rdf:resource="&monitoring_stat;SOP_tail"/>
        <rdf:type rdf:resource="&unit;Countable"/>
        <monitoring_parameter:paramName>tail</monitoring_parameter:paramName>
        <unit:hasValue>5</unit:hasValue>
        <monitoring_parameter:hasType rdf:resource="&monitoring_parameter;Integer"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#last3samples_largerthan_averageplusvariance -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#last3samples_largerthan_averageplusvariance">
        <rdf:type rdf:resource="&monitoring_stat;IsPositive"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#measureMaxOfTheLast5MemoryInformation -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#measureMaxOfTheLast5MemoryInformation">
        <rdf:type rdf:resource="&monitoring_query;BundleQuery"/>
        <monitoring_query:hasResource rdf:resource="&im;PlanetLab_smilax1.man.poznan.pl"/>
        <monitoring_stat:hasSample rdf:resource="http://fp7-novi.eu/monitoringQuery_example.owl#MaxOfLast5"/>
        <monitoring_features:hasFeature rdf:resource="&monitoring_features;FreeMemory"/>
        <monitoring_query:hasFormatter rdf:resource="&monitoring_query;Formatter_JSON"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#measureMemoryInformation -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#measureMemoryInformation">
        <rdf:type rdf:resource="&monitoring_query;BundleQuery"/>
        <monitoring_query:hasResource rdf:resource="&im;PlanetLab_smilax1.man.poznan.pl"/>
        <monitoring_features:hasFeature rdf:resource="&monitoring_features;FreeMemory"/>
        <monitoring_query:hasFormatter rdf:resource="&monitoring_query;Formatter_JSON"/>
        <monitoring_stat:hasSample rdf:resource="&monitoring_query;UnmodifiedExtractOfFeatureSamples"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#measureMemoryInformationSlice -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#measureMemoryInformationSlice">
        <rdf:type rdf:resource="&monitoring_query;BundleQuery"/>
        <monitoring_query:hasResource rdf:resource="&im;PlanetLab_smilax1.man.poznan.pl"/>
        <monitoring_features:hasFeature rdf:resource="&monitoring_features;FreeMemory"/>
        <monitoring_query:hasFormatter rdf:resource="&monitoring_query;Formatter_CSV"/>
        <monitoring_stat:hasSample rdf:resource="&monitoring_query;UnmodifiedExtractOfFeatureSamples"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#minoflast3 -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#minoflast3">
        <rdf:type rdf:resource="&monitoring_stat;Minimum"/>
        <monitoring_stat:hasSample rdf:resource="http://fp7-novi.eu/monitoringQuery_example.owl#Last5Samples"/>
    </owl:NamedIndividual>
    


    <!-- http://fp7-novi.eu/monitoringQuery_example.owl#sliceID -->

    <owl:NamedIndividual rdf:about="http://fp7-novi.eu/monitoringQuery_example.owl#sliceID">
        <rdf:type rdf:resource="&monitoring_query;QueryParameter"/>
        <rdf:type rdf:resource="&unit;NameOfSomething"/>
        <monitoring_parameter:paramName>SliceName</monitoring_parameter:paramName>
        <unit:hasValue>-1</unit:hasValue>
        <monitoring_parameter:hasType rdf:resource="&monitoring_parameter;String"/>
    </owl:NamedIndividual>
</rdf:RDF>



<!-- Generated by the OWL API (version 3.3.1957) http://owlapi.sourceforge.net -->