1 # Copyright 2016 ITEA 12004 SEAS Project.
2 # Copyright 2016-2019 Asema Electronics Ltd.
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing,
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
16 @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . #Resource data framework
17 @prefix owl: <http://www.w3.org/2002/07/owl#> . #Owl ontology language
18 @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . #RDF schema
19 @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . #XML standard datatypes
20 @prefix dc: <http://purl.org/dc/terms/> . #Dublin Core Metadata Initiative terms
21 @prefix vann: <http://purl.org/vocab/vann/> . #A vocabulary for annotating vocabulary descriptions
22 @prefix voaf: <http://purl.org/vocommons/voaf#> . #A vocabulary of a friend, for describing relations between linked vocabularies
23 @prefix vs: <http://www.w3.org/2003/06/sw-vocab-status/ns#> . #Semantic web vocabulary status ontology
24 @prefix foaf: <http://xmlns.com/foaf/0.1/>.
26 @prefix smartapi: <http://www.smart-api.io/ontology/1.0/>.
27 @base <http://www.smart-api.io/ontology/1.0/>.
30 #all standard smartapi quantities and units
31 smartapi:NetworkingOntology a owl:Ontology , voaf:Ontology ;
32 dc:title "SmartAPI-NetworkingOntology ontology"@en ;
33 dc:description "The Smart API networking Ontology."@en ;
34 dc:issued "2016-01-26"^^xsd:date ;
35 dc:modified "2016-10-06"^^xsd:date ;
36 dc:creator [a foaf:Person ; foaf:name "Hannu Järvinen" ] ;
37 dc:creator [a foaf:Person ; foaf:name "Jani Hursti" ] ;
38 dc:contributor <http://www.vtt.fi/JarmoKalaoja> ;
39 dc:contributor <http://www.maxime-lefrancois.info/me#> ;
40 dc:contributor <http://zimmer.aprilfoolsreview.com/antoine#me> ;
41 dc:contributor [a foaf:Person ; foaf:name "Erkki Siira" ] ;
42 dc:contributor [a foaf:Person ; foaf:name "Takoua Ghariani" ] ;
43 dc:contributor [a foaf:Person ; foaf:name "Marc Girod-Genet" ] ;
44 dc:contributor [a foaf:Person ; foaf:name "Pyry Lehtimäki" ] ;
45 vann:preferredNamespacePrefix "smartapi" ;
46 vann:preferredNamespaceUri <http://www.smart-api.io/ontology/1.0/> ;
47 owl:versionIRI <http://www.smart-api.io/ontology/1.0/NetworkingOntology/1.0> ;
48 owl:versionInfo "v1.0" .
52 smartapi:Message a owl:Class ;
53 rdfs:label "Message"@en ;
54 rdfs:comment "A message is a discrete unit of communication intended by the source for consumption by some recipient."@en ;
55 rdfs:isDefinedBy smartapi:NetworkingOntology ;
56 vs:term_status "testing" .
58 smartapi:message a owl:ObjectProperty;
59 rdfs:range smartapi:Message ;
60 rdfs:label "Message"@en ;
61 rdfs:comment "A property that links this resource to a Message."@en ;
62 rdfs:isDefinedBy smartapi:NetworkingOntology ;
63 vs:term_status "testing" .
65 smartapi:Request a owl:Class ;
66 rdfs:label "Request"@en ;
67 rdfs:comment "A message for requesting something from the recipient."@en ;
68 rdfs:isDefinedBy smartapi:NetworkingOntology ;
69 rdfs:subClassOf smartapi:Message ;
70 vs:term_status "testing" .
72 smartapi:Response a owl:Class ;
73 rdfs:label "Response"@en ;
74 rdfs:comment "A message for responding to a request."@en ;
75 rdfs:isDefinedBy smartapi:NetworkingOntology ;
76 rdfs:subClassOf smartapi:Message ;
77 vs:term_status "testing" .
79 smartapi:Notification a owl:Class ;
80 rdfs:label "Notification"@en ;
81 rdfs:comment "A message for sending a notice, announcement, or, e.g., warning."@en ;
82 rdfs:isDefinedBy smartapi:NetworkingOntology ;
83 rdfs:subClassOf smartapi:Message ;
84 vs:term_status "testing" .
86 smartapi:AliveRequest a owl:Class ;
87 rdfs:label "Alive request"@en ;
88 rdfs:comment "A message to communicate that the sender is still alive. Can be used to implement heartbeat."@en ;
89 rdfs:isDefinedBy smartapi:NetworkingOntology ;
90 rdfs:subClassOf smartapi:Request ;
91 vs:term_status "testing" .
93 smartapi:AliveResponse a owl:Class ;
94 rdfs:label "Alive response"@en ;
95 rdfs:comment "A response message for AliveRequest to acknowledge the reception."@en ;
96 rdfs:isDefinedBy smartapi:NetworkingOntology ;
97 rdfs:subClassOf smartapi:Response ;
98 vs:term_status "testing" .
100 smartapi:Acknowledgement a owl:Class ;
101 rdfs:label "Acknowledgement"@en ;
102 rdfs:comment "A message to signify acknowledgement or receipt of earlier message."@en ;
103 rdfs:isDefinedBy smartapi:NetworkingOntology ;
104 rdfs:subClassOf smartapi:Response ;
105 vs:term_status "testing" .
107 smartapi:OfferResponse a owl:Class ;
108 rdfs:label "Offer response"@en ;
109 rdfs:comment "A response that describes an offer."@en ;
110 rdfs:isDefinedBy smartapi:NetworkingOntology ;
111 rdfs:subClassOf smartapi:Response ;
112 vs:term_status "testing" .
114 # transaction, contract and account
116 smartapi:Transaction a owl:Class ;
117 rdfs:label "Transaction"@en ;
118 rdfs:comment "The exchange of something such as goods and services etc. "@en ;
119 vs:term_status "testing" ;
120 rdfs:isDefinedBy smartapi:NetworkingOntology.
122 smartapi:transaction a owl:ObjectProperty;
123 rdfs:range smartapi:Transaction ;
124 rdfs:label "Transaction"@en ;
125 rdfs:comment "The Property that links this resource to a Transaction."@en ;
126 rdfs:isDefinedBy smartapi:NetworkingOntology ;
127 vs:term_status "testing" .
129 smartapi:notarizedObject a owl:ObjectProperty;
130 rdfs:label "Notarized object"@en ;
131 rdfs:comment "The Property that links a resource that represents a notarized object to a Transaction."@en ;
132 rdfs:range smartapi:Object ;
133 rdfs:domain smartapi:Transaction ;
134 rdfs:isDefinedBy smartapi:NetworkingOntology ;
135 vs:term_status "testing" .
137 smartapi:AccountTransaction a owl:Class ;
138 rdfs:label "Account transaction"@en ;
139 rdfs:comment "A transaction that relates to an account."@en ;
140 vs:term_status "testing" ;
141 rdfs:isDefinedBy smartapi:NetworkingOntology.
143 smartapi:accountTransaction a owl:ObjectProperty;
144 rdfs:range smartapi:AccountTransaction ;
145 rdfs:label "Account transaction"@en ;
146 rdfs:comment "The property that links this resource to an account transaction."@en ;
147 rdfs:isDefinedBy smartapi:NetworkingOntology ;
148 vs:term_status "testing" .
150 smartapi:AccountAction a owl:Class ;
151 rdfs:label "Account action"@en ;
152 rdfs:comment "An action that relates to an account."@en ;
153 vs:term_status "testing" ;
154 rdfs:isDefinedBy smartapi:NetworkingOntology.
156 smartapi:accountAction a owl:ObjectProperty;
157 rdfs:range smartapi:AccountAction ;
158 rdfs:label "Account action"@en ;
159 rdfs:comment "The property that links this resource to an account action."@en ;
160 rdfs:isDefinedBy smartapi:NetworkingOntology ;
161 vs:term_status "testing" .
163 smartapi:Contract a owl:Class ;
164 rdfs:label "Contract"@en ;
165 rdfs:comment "An agreement for the exchange of something such as goods and services etc. between parties."@en ;
166 vs:term_status "testing" ;
167 rdfs:isDefinedBy smartapi:NetworkingOntology.
169 smartapi:contract a owl:ObjectProperty;
170 rdfs:range smartapi:Contract ;
171 rdfs:label "Contract"@en ;
172 rdfs:comment "The property that links this resource to a Contract."@en ;
173 rdfs:isDefinedBy smartapi:NetworkingOntology ;
174 vs:term_status "testing" .
176 smartapi:Account a owl:Class ;
177 rdfs:label "Account"@en ;
178 rdfs:comment "A record of financial expenditure and receipts relating to a transactions between two systems."@en ;
179 vs:term_status "testing" ;
180 rdfs:isDefinedBy smartapi:NetworkingOntology.
182 smartapi:account a owl:ObjectProperty;
183 rdfs:range smartapi:Account ;
184 rdfs:label "Account"@en ;
185 rdfs:comment "The property that links this resource to an Account."@en ;
186 rdfs:isDefinedBy smartapi:NetworkingOntology ;
187 vs:term_status "testing" .
191 smartapi:License a owl:Class ;
192 rdfs:label "License"@en ;
193 rdfs:comment "The authorization to use licensed material."@en ;
194 rdfs:subClassOf smartapi:Contract ;
195 rdfs:isDefinedBy smartapi:NetworkingOntology ;
196 vs:term_status "testing" .
198 smartapi:license a owl:ObjectProperty;
199 rdfs:range smartapi:License ;
200 rdfs:label "License"@en ;
201 rdfs:comment "The Property that links this resource to a License."@en ;
202 rdfs:isDefinedBy smartapi:NetworkingOntology ;
203 vs:term_status "testing" .
205 smartapi:licenseKey a owl:DatatypeProperty ;
206 rdfs:label "License key"@en ;
207 rdfs:comment "A data string that verifies authorized software product access."@en ;
208 rdfs:isDefinedBy smartapi:NetworkingOntology ;
209 vs:term_status "testing" .
211 # general message properties
213 smartapi:id a owl:DatatypeProperty ;
214 rdfs:label "Identifier number"@en ;
215 rdfs:comment "A property which can be used to express the ID (of a message)."@en ;
216 rdfs:isDefinedBy smartapi:NetworkingOntology ;
218 vs:term_status "testing" .
220 smartapi:transactionID a owl:ObjectProperty ;
221 rdfs:label "Transaction ID"@en ;
222 rdfs:comment "A property used to express the ID of a transaction that, e.g., signs this resource."@en ;
223 rdfs:isDefinedBy smartapi:NetworkingOntology ;
224 vs:term_status "testing" .
226 smartapi:processID a owl:DatatypeProperty ;
227 rdfs:label "Process ID"@en ;
228 rdfs:comment "A property used to express the ID of a process."@en ;
229 rdfs:isDefinedBy smartapi:NetworkingOntology ;
230 rdfs:range xsd:integer ;
231 vs:term_status "testing" .
233 smartapi:freshness a owl:DatatypeProperty ;
234 rdfs:label "Freshness"@en ;
235 rdfs:comment "Freshness of the data calculated backward from now."@en ;
236 rdfs:isDefinedBy smartapi:NetworkingOntology ;
237 rdfs:range xsd:dateTime ;
238 vs:term_status "testing" .
240 smartapi:method a owl:ObjectProperty;
241 rdfs:label "Method"@en ;
242 rdfs:comment "The property that links this resource to a Method."@en ;
243 rdfs:isDefinedBy smartapi:NetworkingOntology ;
244 rdfs:range smartapi:Method ;
245 vs:term_status "testing" .
247 smartapi:operation a owl:ObjectProperty ;
248 rdfs:label "Operation"@en ;
249 rdfs:comment "The property that links this resource to an Operation."@en ;
250 rdfs:isDefinedBy smartapi:NetworkingOntology ;
251 rdfs:range smartapi:Operation ;
252 vs:term_status "testing" .
254 smartapi:traverseUntil a owl:DatatypeProperty;
255 rdfs:label "Traverse until"@en ;
256 rdfs:label "Maksimi läpikäyntisyvyys"@fi ;
257 rdfs:comment "The property that describes maximum traversal depth for the operation requested by the activity."@en ;
258 rdfs:isDefinedBy smartapi:NetworkingOntology ;
259 rdfs:domain smartapi:Activity ;
261 vs:term_status "testing" .
263 smartapi:traverseTo a owl:DatatypeProperty;
264 rdfs:label "Traverse to"@en ;
265 rdfs:label "Suoritussyvyys"@fi ;
266 rdfs:comment "The property that describes traversal depth to reach the level where the operation requested by the activity should be executed."@en ;
267 rdfs:isDefinedBy smartapi:NetworkingOntology ;
268 rdfs:domain smartapi:Activity ;
270 vs:term_status "testing" .
272 smartapi:recursionUntil a owl:DatatypeProperty;
273 rdfs:label "Recursion until"@en ;
274 rdfs:label "Maksimi rekursiosyvyys"@fi ;
275 rdfs:comment "The property that describes traversal depth for the recursion requested by the activity."@en ;
276 rdfs:isDefinedBy smartapi:NetworkingOntology ;
278 vs:term_status "testing" .
280 smartapi:recursionTo a owl:DatatypeProperty;
281 rdfs:label "Recursion to"@en ;
282 rdfs:label "Rekursiosyvyys"@fi ;
283 rdfs:comment "The property that describes recursion depth to reach the level where the operation requested by the activity should be executed."@en ;
284 rdfs:isDefinedBy smartapi:NetworkingOntology ;
286 vs:term_status "testing" .
288 smartapi:recursionProperty a owl:ObjectProperty ;
289 rdfs:label "Recursion property"@en ;
290 rdfs:label "Rekursiolinkki"@fi ;
291 rdfs:comment "The property that describes properties that recursion should follow."@en ;
292 rdfs:isDefinedBy smartapi:NetworkingOntology ;
293 rdfs:range rdf:Property ;
294 vs:term_status "testing" .
298 smartapi:hasDataResource a owl:ObjectProperty;
299 rdfs:label "Has data resource"@en ;
300 rdfs:comment "A data resource related to activity."@en ;
301 rdfs:domain smartapi:Activity ;
302 rdfs:range smartapi:Evaluation ;
303 vs:term_status "testing" ;
304 rdfs:isDefinedBy smartapi:NetworkingOntology .
306 smartapi:Input a owl:Class ;
307 rdfs:label "Input"@en ;
308 rdfs:comment "Input data for an activity."@en ;
309 rdfs:subClassOf smartapi:Evaluation ;
310 rdfs:isDefinedBy smartapi:NetworkingOntology ;
311 vs:term_status "testing" .
313 smartapi:Output a owl:Class ;
314 rdfs:label "Output"@en ;
315 rdfs:comment "Output data produced by an activity."@en ;
316 rdfs:subClassOf smartapi:Evaluation ;
317 rdfs:isDefinedBy smartapi:NetworkingOntology ;
318 vs:term_status "testing" .
320 # Input and output data resources for activities
322 smartapi:hasInput a owl:ObjectProperty;
323 rdfs:label "Has input"@en ;
324 rdfs:comment "An input that this activity has or takes."@en ;
325 rdfs:subPropertyOf smartapi:hasDataResource ;
326 vs:term_status "testing" ;
327 rdfs:range smartapi:Input ;
328 rdfs:isDefinedBy smartapi:NetworkingOntology .
330 smartapi:hasOutput a owl:ObjectProperty;
331 rdfs:label "Has output"@en ;
332 rdfs:comment "Output that this activity generates or has generated."@en ;
333 rdfs:subPropertyOf smartapi:hasDataResource ;
334 vs:term_status "testing" ;
335 rdfs:range smartapi:Output ;
336 rdfs:isDefinedBy smartapi:NetworkingOntology .
338 smartapi:hasRefInput a owl:ObjectProperty ;
339 rdfs:label "Has reference input"@en ;
340 rdfs:comment "A resource which is used to indicate where the input data can be fetched."@en ;
341 rdfs:isDefinedBy smartapi:NetworkingOntology ;
342 rdfs:range smartapi:Input ;
343 vs:term_status "testing" .
345 smartapi:hasRefOutput a owl:ObjectProperty ;
346 rdfs:label "Has reference output"@en ;
347 rdfs:comment "A resource which is used to indicate where the output data can be fetched."@en ;
348 rdfs:isDefinedBy smartapi:NetworkingOntology ;
349 rdfs:range smartapi:Output ;
350 vs:term_status "testing" .
354 smartapi:Error a owl:Class ;
355 rdfs:label "Error"@en ;
356 rdfs:comment "A class used to express an error."@en ;
357 rdfs:isDefinedBy smartapi:NetworkingOntology ;
358 vs:term_status "testing" .
360 smartapi:error a owl:ObjectProperty ;
361 rdfs:label "Error"@en ;
362 rdfs:comment "A property used to express an error."@en ;
363 rdfs:isDefinedBy smartapi:NetworkingOntology ;
364 rdfs:range smartapi:Error ;
365 vs:term_status "testing" .
367 smartapi:InvalidParams a owl:Class;
368 rdfs:label "Invalid params"@en ;
369 rdfs:comment "A resource used to express an error in parameters."@en ;
370 rdfs:isDefinedBy smartapi:NetworkingOntology ;
371 rdfs:subClassOf smartapi:Error;
372 vs:term_status "testing" .
374 smartapi:InvalidRequest a owl:Class ;
375 rdfs:label "Invalid request"@en ;
376 rdfs:comment "A resource used to express an error in the request."@en ;
377 rdfs:isDefinedBy smartapi:NetworkingOntology ;
378 rdfs:subClassOf smartapi:Error;
379 vs:term_status "testing" .
381 smartapi:ServerError a owl:Class ;
382 rdfs:label "Server error"@en ;
383 rdfs:comment "A resource used to express a server side error."@en ;
384 rdfs:isDefinedBy smartapi:NetworkingOntology ;
385 rdfs:subClassOf smartapi:Error;
386 vs:term_status "testing" .
388 smartapi:ParseError a owl:Class ;
389 rdfs:label "Parse error"@en ;
390 rdfs:comment "An error that is caused by an error while a parse operation."@en ;
391 rdfs:isDefinedBy smartapi:NetworkingOntology ;
392 rdfs:subClassOf smartapi:Error;
393 vs:term_status "testing" .
395 smartapi:Unauthorized a owl:Class ;
396 rdfs:label "Unauthorized"@en ;
397 rdfs:comment "An error indicating that the requested activity was not authorized."@en ;
398 rdfs:isDefinedBy smartapi:NetworkingOntology ;
399 rdfs:subClassOf smartapi:Error;
400 vs:term_status "testing" .
402 smartapi:SyntaxError a owl:Class ;
403 rdfs:label "Syntax error"@en ;
404 rdfs:comment "An error that is caused by an error in syntax of the provided data."@en ;
405 rdfs:isDefinedBy smartapi:NetworkingOntology ;
406 rdfs:subClassOf smartapi:Error;
407 vs:term_status "testing" .
409 smartapi:IllegalValueError a owl:Class ;
410 rdfs:label "Illegal value error"@en ;
411 rdfs:comment "An error that is caused by an erroneous value in the provided data."@en ;
412 rdfs:isDefinedBy smartapi:NetworkingOntology ;
413 rdfs:subClassOf smartapi:Error;
414 vs:term_status "testing" .
416 smartapi:UndefinedConceptError a owl:Class ;
417 rdfs:label "Undefined concept error"@en ;
418 rdfs:comment "An error that is caused by a concept which does not have a known definition."@en ;
419 rdfs:isDefinedBy smartapi:NetworkingOntology ;
420 rdfs:subClassOf smartapi:Error;
421 vs:term_status "testing" .
423 smartapi:errorCode a owl:DatatypeProperty ;
424 rdfs:label "Error code"@en ;
425 rdfs:comment "A numeric value used to express an error code."@en ;
426 rdfs:isDefinedBy smartapi:NetworkingOntology ;
427 rdfs:range xsd:integer ;
428 vs:term_status "testing" .
430 smartapi:errorMessage a owl:ObjectProperty ;
431 rdfs:label "Error message"@en ;
432 rdfs:comment "A resource used to express an error message."@en ;
433 rdfs:isDefinedBy smartapi:NetworkingOntology ;
434 rdfs:range xsd:string ;
435 rdfs:domain smartapi:Error ;
436 vs:term_status "testing" .
440 smartapi:Status a owl:Class ;
441 rdfs:label "Status"@en ;
442 rdfs:comment "A status of the requested operation."@en ;
443 rdfs:isDefinedBy smartapi:NetworkingOntology ;
444 vs:term_status "testing" .
446 smartapi:statusCode a owl:DatatypeProperty ;
447 rdfs:label "Status code"@en ;
448 rdfs:comment "A numeric value used to express an HTTP status code."@en ;
449 rdfs:isDefinedBy smartapi:NetworkingOntology ;
450 rdfs:range xsd:integer ;
451 vs:term_status "testing" .
453 smartapi:status a owl:ObjectProperty ;
454 rdfs:label "Status"@en ;
455 rdfs:comment "A status of the requested operation."@en ;
456 rdfs:isDefinedBy smartapi:NetworkingOntology ;
457 rdfs:range smartapi:Status, smartapi:Error ;
458 vs:term_status "testing" .
460 smartapi:Ready a owl:Class ;
461 rdfs:label "Ready"@en ;
462 rdfs:comment "A ready status to indicate that service is ready to start processing."@en ;
463 rdfs:isDefinedBy smartapi:NetworkingOntology ;
464 rdfs:subClassOf smartapi:Status;
465 vs:term_status "testing" .
467 smartapi:Busy a owl:Class ;
468 rdfs:label "Busy"@en ;
469 rdfs:comment "A busy status to indicate that service is busy from, for instance, processing something else."@en ;
470 rdfs:isDefinedBy smartapi:NetworkingOntology ;
471 rdfs:subClassOf smartapi:Status;
472 vs:term_status "testing" .
474 smartapi:Online a owl:Class ;
475 rdfs:label "Online"@en ;
476 rdfs:comment "A online status to indicate that service is online."@en ;
477 rdfs:isDefinedBy smartapi:NetworkingOntology ;
478 rdfs:subClassOf smartapi:Status;
479 vs:term_status "testing" .
481 smartapi:Pending a owl:Class ;
482 rdfs:label "Pending"@en ;
483 rdfs:comment "A pending status for an operation to indicate that is has been taken into queue and is waiting to get processed."@en ;
484 rdfs:isDefinedBy smartapi:NetworkingOntology ;
485 rdfs:subClassOf smartapi:Status;
486 vs:term_status "testing" .
488 smartapi:Processing a owl:Class ;
489 rdfs:label "Processing"@en ;
490 rdfs:comment "A processing status for an operation to indicate that it is executing but not finished yet."@en ;
491 rdfs:isDefinedBy smartapi:NetworkingOntology ;
492 rdfs:subClassOf smartapi:Status;
493 vs:term_status "testing" .
495 smartapi:Finished a owl:Class ;
496 rdfs:label "Finished"@en ;
497 rdfs:comment "A finished status for an operation to indicate that processing has finished successfully."@en ;
498 rdfs:isDefinedBy smartapi:NetworkingOntology ;
499 rdfs:subClassOf smartapi:Status;
500 vs:term_status "testing" .
502 smartapi:completed a owl:DatatypeProperty;
503 rdfs:label "Completed"@en ;
504 rdfs:comment "A count of completed items or completed amount of something out of total."@en ;
505 rdfs:isDefinedBy smartapi:NetworkingOntology ;
506 rdfs:range rdf:XMLLiteral ;
507 vs:term_status "testing" .
509 smartapi:total a owl:DatatypeProperty;
510 rdfs:label "Total"@en ;
511 rdfs:comment "A count of total items or total amount of something."@en ;
512 rdfs:isDefinedBy smartapi:NetworkingOntology ;
513 rdfs:range rdf:XMLLiteral ;
514 vs:term_status "testing" .