@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix ns0: <https://w3id.org/coswot/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix metadata_def: <http://data.bioontology.org/metadata/def/> . @prefix metadata: <http://data.bioontology.org/metadata/> . @prefix skos: <http://www.w3.org/2004/02/skos/core#> . @prefix ns1: <https://w3id.org/coswot/core/> . ns0:Operation metadata_def:mappingLoom "operation" ; metadata_def:mappingSameURI ns0:Operation ; metadata_def:prefLabel "Operation"@en ; metadata:prefixIRI "coswot:Operation" ; a owl:Class ; rdfs:comment "A coswot:Operation is the means of a service to communicate in a procedure-type manner over the network (i.e. transmit data to/from other devices). It is the –machine interpretable– exposure of a –human understandable– command to a network. While a coswot:OperationOfInterest is specific to a service of interest, a coswot:OperationKind is an archetype of operations."@en ; rdfs:isDefinedBy ns1:services_operations ; rdfs:label "Operation"@en ; rdfs:subClassOf ns0:Procedure ; skos:example "In the set of operations exposed by a smart light bulb on a given network, one may be dedicated to turn on and off the light and expect a boolean as input. Another one may be dedicated to set the luminosity status and expect a target luminosity level (a byte) and a transition time (encoded on two bytes)."@en, "In the set of operations exposed by a smart washing machine on a given network, one may be dedicated to set the water temperature for the washing cycle, and expected as input a enumerated value. Another one may be dedicated to start, pause, or stop the washing cycle."@en, "To turn on a light, send a CoAP PUT request with CBOR content 0xf5 (true)"@en ; skos:note "An operation may be described in terms of its inputs and outputs using OP coswot:hasInput and coswot:hasOutput. Inputs and outputs of operations typically describe the expected schema or shape of network messages."@en, "Typically, a device connected to a given network offers one service for each of its functions of interest, and each service has one operation per command of interest of the function of interest it represents."@en . ns0:OperationKind rdfs:subClassOf ns0:Operation . ns0:OperationOfInterest rdfs:subClassOf ns0:Operation . ns0:hasOperation rdfs:range ns0:Operation . ns0:isOperationOf rdfs:domain ns0:Operation .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix ns0: <https://w3id.org/coswot/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix metadata_def: <http://data.bioontology.org/metadata/def/> .
@prefix metadata: <http://data.bioontology.org/metadata/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ns1: <https://w3id.org/coswot/core/> .

ns0:Operation
    metadata_def:mappingLoom "operation" ;
    metadata_def:mappingSameURI ns0:Operation ;
    metadata_def:prefLabel "Operation"@en ;
    metadata:prefixIRI "coswot:Operation" ;
    a owl:Class ;
    rdfs:comment "A coswot:Operation is the means of a service to communicate in a procedure-type manner over the network (i.e. transmit data to/from other devices). It is the –machine interpretable– exposure of a –human understandable– command to a network. While a coswot:OperationOfInterest is specific to a service of interest, a coswot:OperationKind is an archetype of operations."@en ;
    rdfs:isDefinedBy ns1:services_operations ;
    rdfs:label "Operation"@en ;
    rdfs:subClassOf ns0:Procedure ;
    skos:example "In the set of operations exposed by a smart light bulb on a given network, one may be dedicated to turn on and off the light and expect a boolean as input. Another one may be dedicated to set the luminosity status and expect a target luminosity level (a byte) and a transition time (encoded on two bytes)."@en, "In the set of operations exposed by a smart washing machine on a given network, one may be dedicated to set the water temperature for the washing cycle, and expected as input a enumerated value. Another one may be dedicated to start, pause, or stop the washing cycle."@en, "To turn on a light, send a CoAP PUT request with CBOR content 0xf5 (true)"@en ;
    skos:note "An operation may be described in terms of its inputs and outputs using OP coswot:hasInput and coswot:hasOutput. Inputs and outputs of operations typically describe the expected schema or shape of network messages."@en, "Typically, a device connected to a given network offers one service for each of its functions of interest, and each service has one operation per command of interest of the function of interest it represents."@en .

ns0:OperationKind
    rdfs:subClassOf ns0:Operation .

ns0:OperationOfInterest
    rdfs:subClassOf ns0:Operation .

ns0:hasOperation
    rdfs:range ns0:Operation .

ns0:isOperationOf
    rdfs:domain ns0:Operation .