# Copyright 2016 ITEA 12004 SEAS Project. # Copyright 2016-2019 Asema Electronics Ltd. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. @prefix rdf: . #Resource data framework @prefix owl: . #Owl ontology language @prefix rdfs: . #RDF schema @prefix xsd: . #XML standard datatypes @prefix dc: . #Dublin Core Metadata Initiative terms @prefix vann: . #A vocabulary for annotating vocabulary descriptions @prefix voaf: . #A vocabulary of a friend, for describing relations between linked vocabularies @prefix vs: . #Semantic web vocabulary status ontology @prefix foaf: . @prefix smartapi: . @base . #all standard smartapi quantities and units smartapi:NetworkingOntology a owl:Ontology , voaf:Ontology ; dc:title "SmartAPI-NetworkingOntology ontology"@en ; dc:description "The Smart API networking Ontology."@en ; dc:issued "2016-01-26"^^xsd:date ; dc:modified "2016-10-06"^^xsd:date ; dc:creator [a foaf:Person ; foaf:name "Hannu Järvinen" ] ; dc:creator [a foaf:Person ; foaf:name "Jani Hursti" ] ; dc:contributor ; dc:contributor ; dc:contributor ; dc:contributor [a foaf:Person ; foaf:name "Erkki Siira" ] ; dc:contributor [a foaf:Person ; foaf:name "Takoua Ghariani" ] ; dc:contributor [a foaf:Person ; foaf:name "Marc Girod-Genet" ] ; dc:contributor [a foaf:Person ; foaf:name "Pyry Lehtimäki" ] ; vann:preferredNamespacePrefix "smartapi" ; vann:preferredNamespaceUri ; owl:versionIRI ; owl:versionInfo "v1.0" . # message smartapi:Message a owl:Class ; rdfs:label "Message"@en ; rdfs:comment "A message is a discrete unit of communication intended by the source for consumption by some recipient."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:message a owl:ObjectProperty; rdfs:range smartapi:Message ; rdfs:label "Message"@en ; rdfs:comment "A property that links this resource to a Message."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:Request a owl:Class ; rdfs:label "Request"@en ; rdfs:comment "A message for requesting something from the recipient."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Message ; vs:term_status "testing" . smartapi:Response a owl:Class ; rdfs:label "Response"@en ; rdfs:comment "A message for responding to a request."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Message ; vs:term_status "testing" . smartapi:Notification a owl:Class ; rdfs:label "Notification"@en ; rdfs:comment "A message for sending a notice, announcement, or, e.g., warning."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Message ; vs:term_status "testing" . smartapi:AliveRequest a owl:Class ; rdfs:label "Alive request"@en ; rdfs:comment "A message to communicate that the sender is still alive. Can be used to implement heartbeat."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Request ; vs:term_status "testing" . smartapi:AliveResponse a owl:Class ; rdfs:label "Alive response"@en ; rdfs:comment "A response message for AliveRequest to acknowledge the reception."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Response ; vs:term_status "testing" . smartapi:Acknowledgement a owl:Class ; rdfs:label "Acknowledgement"@en ; rdfs:comment "A message to signify acknowledgement or receipt of earlier message."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Response ; vs:term_status "testing" . smartapi:OfferResponse a owl:Class ; rdfs:label "Offer response"@en ; rdfs:comment "A response that describes an offer."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Response ; vs:term_status "testing" . # transaction, contract and account smartapi:Transaction a owl:Class ; rdfs:label "Transaction"@en ; rdfs:comment "The exchange of something such as goods and services etc. "@en ; vs:term_status "testing" ; rdfs:isDefinedBy smartapi:NetworkingOntology. smartapi:transaction a owl:ObjectProperty; rdfs:range smartapi:Transaction ; rdfs:label "Transaction"@en ; rdfs:comment "The Property that links this resource to a Transaction."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:notarizedObject a owl:ObjectProperty; rdfs:label "Notarized object"@en ; rdfs:comment "The Property that links a resource that represents a notarized object to a Transaction."@en ; rdfs:range smartapi:Object ; rdfs:domain smartapi:Transaction ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:AccountTransaction a owl:Class ; rdfs:label "Account transaction"@en ; rdfs:comment "A transaction that relates to an account."@en ; vs:term_status "testing" ; rdfs:isDefinedBy smartapi:NetworkingOntology. smartapi:accountTransaction a owl:ObjectProperty; rdfs:range smartapi:AccountTransaction ; rdfs:label "Account transaction"@en ; rdfs:comment "The property that links this resource to an account transaction."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:AccountAction a owl:Class ; rdfs:label "Account action"@en ; rdfs:comment "An action that relates to an account."@en ; vs:term_status "testing" ; rdfs:isDefinedBy smartapi:NetworkingOntology. smartapi:accountAction a owl:ObjectProperty; rdfs:range smartapi:AccountAction ; rdfs:label "Account action"@en ; rdfs:comment "The property that links this resource to an account action."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:Contract a owl:Class ; rdfs:label "Contract"@en ; rdfs:comment "An agreement for the exchange of something such as goods and services etc. between parties."@en ; vs:term_status "testing" ; rdfs:isDefinedBy smartapi:NetworkingOntology. smartapi:contract a owl:ObjectProperty; rdfs:range smartapi:Contract ; rdfs:label "Contract"@en ; rdfs:comment "The property that links this resource to a Contract."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:Account a owl:Class ; rdfs:label "Account"@en ; rdfs:comment "A record of financial expenditure and receipts relating to a transactions between two systems."@en ; vs:term_status "testing" ; rdfs:isDefinedBy smartapi:NetworkingOntology. smartapi:account a owl:ObjectProperty; rdfs:range smartapi:Account ; rdfs:label "Account"@en ; rdfs:comment "The property that links this resource to an Account."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . # license smartapi:License a owl:Class ; rdfs:label "License"@en ; rdfs:comment "The authorization to use licensed material."@en ; rdfs:subClassOf smartapi:Contract ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:license a owl:ObjectProperty; rdfs:range smartapi:License ; rdfs:label "License"@en ; rdfs:comment "The Property that links this resource to a License."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:licenseKey a owl:DatatypeProperty ; rdfs:label "License key"@en ; rdfs:comment "A data string that verifies authorized software product access."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . # general message properties smartapi:id a owl:DatatypeProperty ; rdfs:label "Identifier number"@en ; rdfs:comment "A property which can be used to express the ID (of a message)."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range xsd:int ; vs:term_status "testing" . smartapi:transactionID a owl:ObjectProperty ; rdfs:label "Transaction ID"@en ; rdfs:comment "A property used to express the ID of a transaction that, e.g., signs this resource."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:processID a owl:DatatypeProperty ; rdfs:label "Process ID"@en ; rdfs:comment "A property used to express the ID of a process."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range xsd:integer ; vs:term_status "testing" . smartapi:freshness a owl:DatatypeProperty ; rdfs:label "Freshness"@en ; rdfs:comment "Freshness of the data calculated backward from now."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range xsd:dateTime ; vs:term_status "testing" . smartapi:method a owl:ObjectProperty; rdfs:label "Method"@en ; rdfs:comment "The property that links this resource to a Method."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range smartapi:Method ; vs:term_status "testing" . smartapi:operation a owl:ObjectProperty ; rdfs:label "Operation"@en ; rdfs:comment "The property that links this resource to an Operation."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range smartapi:Operation ; vs:term_status "testing" . smartapi:traverseUntil a owl:DatatypeProperty; rdfs:label "Traverse until"@en ; rdfs:label "Maksimi läpikäyntisyvyys"@fi ; rdfs:comment "The property that describes maximum traversal depth for the operation requested by the activity."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:domain smartapi:Activity ; rdfs:range xsd:int ; vs:term_status "testing" . smartapi:traverseTo a owl:DatatypeProperty; rdfs:label "Traverse to"@en ; rdfs:label "Suoritussyvyys"@fi ; rdfs:comment "The property that describes traversal depth to reach the level where the operation requested by the activity should be executed."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:domain smartapi:Activity ; rdfs:range xsd:int ; vs:term_status "testing" . smartapi:recursionUntil a owl:DatatypeProperty; rdfs:label "Recursion until"@en ; rdfs:label "Maksimi rekursiosyvyys"@fi ; rdfs:comment "The property that describes traversal depth for the recursion requested by the activity."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range xsd:int ; vs:term_status "testing" . smartapi:recursionTo a owl:DatatypeProperty; rdfs:label "Recursion to"@en ; rdfs:label "Rekursiosyvyys"@fi ; rdfs:comment "The property that describes recursion depth to reach the level where the operation requested by the activity should be executed."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range xsd:int ; vs:term_status "testing" . smartapi:recursionProperty a owl:ObjectProperty ; rdfs:label "Recursion property"@en ; rdfs:label "Rekursiolinkki"@fi ; rdfs:comment "The property that describes properties that recursion should follow."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range rdf:Property ; vs:term_status "testing" . # input and output smartapi:hasDataResource a owl:ObjectProperty; rdfs:label "Has data resource"@en ; rdfs:comment "A data resource related to activity."@en ; rdfs:domain smartapi:Activity ; rdfs:range smartapi:Evaluation ; vs:term_status "testing" ; rdfs:isDefinedBy smartapi:NetworkingOntology . smartapi:Input a owl:Class ; rdfs:label "Input"@en ; rdfs:comment "Input data for an activity."@en ; rdfs:subClassOf smartapi:Evaluation ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:Output a owl:Class ; rdfs:label "Output"@en ; rdfs:comment "Output data produced by an activity."@en ; rdfs:subClassOf smartapi:Evaluation ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . # Input and output data resources for activities smartapi:hasInput a owl:ObjectProperty; rdfs:label "Has input"@en ; rdfs:comment "An input that this activity has or takes."@en ; rdfs:subPropertyOf smartapi:hasDataResource ; vs:term_status "testing" ; rdfs:range smartapi:Input ; rdfs:isDefinedBy smartapi:NetworkingOntology . smartapi:hasOutput a owl:ObjectProperty; rdfs:label "Has output"@en ; rdfs:comment "Output that this activity generates or has generated."@en ; rdfs:subPropertyOf smartapi:hasDataResource ; vs:term_status "testing" ; rdfs:range smartapi:Output ; rdfs:isDefinedBy smartapi:NetworkingOntology . smartapi:hasRefInput a owl:ObjectProperty ; rdfs:label "Has reference input"@en ; rdfs:comment "A resource which is used to indicate where the input data can be fetched."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range smartapi:Input ; vs:term_status "testing" . smartapi:hasRefOutput a owl:ObjectProperty ; rdfs:label "Has reference output"@en ; rdfs:comment "A resource which is used to indicate where the output data can be fetched."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range smartapi:Output ; vs:term_status "testing" . # error smartapi:Error a owl:Class ; rdfs:label "Error"@en ; rdfs:comment "A class used to express an error."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:error a owl:ObjectProperty ; rdfs:label "Error"@en ; rdfs:comment "A property used to express an error."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range smartapi:Error ; vs:term_status "testing" . smartapi:InvalidParams a owl:Class; rdfs:label "Invalid params"@en ; rdfs:comment "A resource used to express an error in parameters."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Error; vs:term_status "testing" . smartapi:InvalidRequest a owl:Class ; rdfs:label "Invalid request"@en ; rdfs:comment "A resource used to express an error in the request."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Error; vs:term_status "testing" . smartapi:ServerError a owl:Class ; rdfs:label "Server error"@en ; rdfs:comment "A resource used to express a server side error."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Error; vs:term_status "testing" . smartapi:ParseError a owl:Class ; rdfs:label "Parse error"@en ; rdfs:comment "An error that is caused by an error while a parse operation."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Error; vs:term_status "testing" . smartapi:Unauthorized a owl:Class ; rdfs:label "Unauthorized"@en ; rdfs:comment "An error indicating that the requested activity was not authorized."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Error; vs:term_status "testing" . smartapi:SyntaxError a owl:Class ; rdfs:label "Syntax error"@en ; rdfs:comment "An error that is caused by an error in syntax of the provided data."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Error; vs:term_status "testing" . smartapi:IllegalValueError a owl:Class ; rdfs:label "Illegal value error"@en ; rdfs:comment "An error that is caused by an erroneous value in the provided data."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Error; vs:term_status "testing" . smartapi:UndefinedConceptError a owl:Class ; rdfs:label "Undefined concept error"@en ; rdfs:comment "An error that is caused by a concept which does not have a known definition."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Error; vs:term_status "testing" . smartapi:errorCode a owl:DatatypeProperty ; rdfs:label "Error code"@en ; rdfs:comment "A numeric value used to express an error code."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range xsd:integer ; vs:term_status "testing" . smartapi:errorMessage a owl:ObjectProperty ; rdfs:label "Error message"@en ; rdfs:comment "A resource used to express an error message."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range xsd:string ; rdfs:domain smartapi:Error ; vs:term_status "testing" . # status smartapi:Status a owl:Class ; rdfs:label "Status"@en ; rdfs:comment "A status of the requested operation."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; vs:term_status "testing" . smartapi:statusCode a owl:DatatypeProperty ; rdfs:label "Status code"@en ; rdfs:comment "A numeric value used to express an HTTP status code."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range xsd:integer ; vs:term_status "testing" . smartapi:status a owl:ObjectProperty ; rdfs:label "Status"@en ; rdfs:comment "A status of the requested operation."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range smartapi:Status, smartapi:Error ; vs:term_status "testing" . smartapi:Ready a owl:Class ; rdfs:label "Ready"@en ; rdfs:comment "A ready status to indicate that service is ready to start processing."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Status; vs:term_status "testing" . smartapi:Busy a owl:Class ; rdfs:label "Busy"@en ; rdfs:comment "A busy status to indicate that service is busy from, for instance, processing something else."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Status; vs:term_status "testing" . smartapi:Online a owl:Class ; rdfs:label "Online"@en ; rdfs:comment "A online status to indicate that service is online."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Status; vs:term_status "testing" . smartapi:Pending a owl:Class ; rdfs:label "Pending"@en ; rdfs:comment "A pending status for an operation to indicate that is has been taken into queue and is waiting to get processed."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Status; vs:term_status "testing" . smartapi:Processing a owl:Class ; rdfs:label "Processing"@en ; rdfs:comment "A processing status for an operation to indicate that it is executing but not finished yet."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Status; vs:term_status "testing" . smartapi:Finished a owl:Class ; rdfs:label "Finished"@en ; rdfs:comment "A finished status for an operation to indicate that processing has finished successfully."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:subClassOf smartapi:Status; vs:term_status "testing" . smartapi:completed a owl:DatatypeProperty; rdfs:label "Completed"@en ; rdfs:comment "A count of completed items or completed amount of something out of total."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range rdf:XMLLiteral ; vs:term_status "testing" . smartapi:total a owl:DatatypeProperty; rdfs:label "Total"@en ; rdfs:comment "A count of total items or total amount of something."@en ; rdfs:isDefinedBy smartapi:NetworkingOntology ; rdfs:range rdf:XMLLiteral ; vs:term_status "testing" .