Skip to content
Snippets Groups Projects
saref.ttl 74.7 KiB
Newer Older
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                 owl:onProperty saref:isControlledByDevice ;
                                 owl:allValuesFrom saref:Device
                               ] ,
                               [ rdf:type owl:Restriction ;
                                 owl:onProperty saref:isMeasuredByDevice ;
                                 owl:allValuesFrom saref:Device
                               ] ,
                               [ rdf:type owl:Restriction ;
                                 owl:onProperty saref:isPropertyOf ;
                                 owl:allValuesFrom saref:FeatureOfInterest
                               ] ,
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                               [ rdf:type owl:Restriction ;
                                 owl:onProperty saref:relatesToMeasurement ;
                                 owl:allValuesFrom saref:Measurement
                               ] ;
               rdfs:comment "A quality of a feature of interest that can be measured; an aspect of a feature of interest that is intrinsic to and cannot exist without the feature"@en ;
               rdfs:label "Property"@en .
###  https://saref.etsi.org/saref#SensingFunction
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:SensingFunction rdf:type owl:Class ;
                      rdfs:subClassOf saref:Function ,
                                      [ rdf:type owl:Restriction ;
                                        owl:onProperty saref:hasSensingRange ;
                                        owl:someValuesFrom saref:Measurement
                                      ] ,
                                      [ rdf:type owl:Restriction ;
                                        owl:onProperty saref:hasSensorType ;
                                        owl:allValuesFrom saref:Property
                                      ] ;
                      rdfs:comment "A function that allows to transmit data from sensors, such as measurement values (e.g., temperature) or sensing data (e.g., occupancy)"@en ;
                      rdfs:label "Sensing function"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Sensor rdf:type owl:Class ;
             rdfs:subClassOf saref:FunctionRelated ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty saref:hasFunction ;
                               owl:someValuesFrom saref:SensingFunction
                             ] ;
             rdfs:comment "A device that detects and responds to events or changes in the physical environment such as light, motion, or temperature changes. Further, a device of category saref:Sensor that performs a saref:SensingFunction."@en ;
             rdfs:label "Sensor"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Service rdf:type owl:Class ;
              rdfs:subClassOf [ rdf:type owl:Restriction ;
                                owl:onProperty saref:isOfferedBy ;
                                owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                owl:onClass saref:Device
                              ] ,
                              [ rdf:type owl:Restriction ;
                                owl:onProperty saref:represents ;
                                owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                owl:onClass saref:Function
                              ] ;
              rdfs:comment "A service is a representation of a function to a network that makes the function discoverable, registerable, remotely controllable by other devices in the network. A service can represent one or more functions. A Service is offered by a device that wants (a certain set of) its function(s) to be discoverable, registerable, remotely controllable by other devices in the network. A Service must specify the device that is offering the service and the function(s) to be represented."@en ;
              rdfs:label "Service"@en .
###  https://saref.etsi.org/saref#SetAbsoluteLevelCommand
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:SetAbsoluteLevelCommand rdf:type owl:Class ;
                              rdfs:subClassOf saref:SetLevelCommand ;
                              rdfs:comment "A type of set level command"@en ;
                              rdfs:label "Set absolute level command"@en .
###  https://saref.etsi.org/saref#SetLevelCommand
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:SetLevelCommand rdf:type owl:Class ;
                      rdfs:subClassOf saref:Command ,
                                      [ rdf:type owl:Restriction ;
                                        owl:onProperty saref:actsUpon ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                      ] ,
                                      [ rdf:type owl:Restriction ;
                                        owl:onProperty saref:isCommandOf ;
                                        owl:allValuesFrom saref:LevelControlFunction
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                      ] ;
                      rdfs:comment "A type of command"@en ;
                      rdfs:label "Set level command"@en .
###  https://saref.etsi.org/saref#SetRelativeLevelCommand
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:SetRelativeLevelCommand rdf:type owl:Class ;
                              rdfs:subClassOf saref:SetLevelCommand ;
                              rdfs:comment "A type of set level command"@en ;
                              rdfs:label "Set relative level command"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Smoke rdf:type owl:Class ;
            rdfs:subClassOf saref:Property ;
            rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a unit of measure for smoke"@en ;
            rdfs:label "Smoke"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:SmokeSensor rdf:type owl:Class ;
                  rdfs:subClassOf saref:Sensor ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:hasFunction ;
                                    owl:someValuesFrom saref:EventFunction
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:hasFunction ;
                                    owl:someValuesFrom saref:SensingFunction
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:measuresProperty ;
                                    owl:someValuesFrom saref:Smoke
                                  ] ;
                  rdfs:comment "A sensor that performs the saref:SensingFunction and the saref:EventFunction, and is used for the purpose of sensing a property of type saref:Smoke. A saref:SmokeSensor is typically used to saref:accomplish saref:Safety."@en ;
                  rdfs:label "Smoke sensor"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:StartCommand rdf:type owl:Class ;
                   rdfs:subClassOf saref:Command ,
                                   [ rdf:type owl:Restriction ;
                                     owl:onProperty saref:actsUpon ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                   ] ,
                                   [ rdf:type owl:Restriction ;
                                     owl:onProperty saref:isCommandOf ;
                                     owl:allValuesFrom saref:StartStopFunction
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                   ] ;
                   owl:disjointWith saref:StopCommand ;
                   rdfs:comment "A type of command"@en ;
                   rdfs:label "Start command"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:StartState rdf:type owl:Class ;
                 rdfs:subClassOf saref:StartStopState ;
                 rdfs:comment "The state of a device that is STARTED"@en ;
                 rdfs:label "Start state"@en .
###  https://saref.etsi.org/saref#StartStopFunction
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:StartStopFunction rdf:type owl:Class ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                        rdfs:subClassOf saref:ActuatingFunction ;
                        rdfs:comment "An actuating function that allows to start and stop a device"@en ;
                        rdfs:label "Start stop function"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:StartStopState rdf:type owl:Class ;
                     rdfs:subClassOf saref:State ;
                     rdfs:comment "A type of state"@en ;
                     rdfs:label "Start stop state"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:State rdf:type owl:Class ;
            rdfs:comment "The state in which a device can be found, e.g, ON/OFF/STANDBY, or ONLINE/OFFLINE. We propose here a list of states that are relevant for the purpose of SAREF, but this list can be extended."@en ;
            rdfs:label "State"@en .
###  https://saref.etsi.org/saref#StepDownCommand
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:StepDownCommand rdf:type owl:Class ;
                      rdfs:subClassOf saref:Command ,
                                      [ rdf:type owl:Restriction ;
                                        owl:onProperty saref:actsUpon ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                      ] ,
                                      [ rdf:type owl:Restriction ;
                                        owl:onProperty saref:isCommandOf ;
                                        owl:allValuesFrom saref:LevelControlFunction
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                      ] ;
                      owl:disjointWith saref:StepUpCommand ;
                      rdfs:comment "A type of command"@en ;
                      rdfs:label "Step down command"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:StepUpCommand rdf:type owl:Class ;
                    rdfs:subClassOf saref:Command ,
                                    [ rdf:type owl:Restriction ;
                                      owl:onProperty saref:actsUpon ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                    ] ,
                                    [ rdf:type owl:Restriction ;
                                      owl:onProperty saref:isCommandOf ;
                                      owl:allValuesFrom saref:LevelControlFunction
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                    ] ;
                    rdfs:comment "A type of command"@en ;
                    rdfs:label "Step up command"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:StopCommand rdf:type owl:Class ;
                  rdfs:subClassOf saref:Command ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:actsUpon ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:isCommandOf ;
                                    owl:allValuesFrom saref:StartStopFunction
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                                  ] ;
                  rdfs:comment "A type of command"@en ;
                  rdfs:label "Stop command"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:StopState rdf:type owl:Class ;
                rdfs:subClassOf saref:StartStopState ;
                rdfs:comment "The state of a device that is STOPPED"@en ;
                rdfs:label "Stop state"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Storage rdf:type owl:Class ;
              rdfs:subClassOf saref:EnergyRelated ;
              rdfs:comment "A type of energy-related device that stores energy"@en ;
              rdfs:label "Storage"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Switch rdf:type owl:Class ;
             rdfs:subClassOf saref:Actuator ;
             rdfs:comment "A device of category saref:Actuator that performs an actuating function of type saref:OnOffFunction or saref:OpenCloseFunction"@en ;
             rdfs:label "Switch"@en .
###  https://saref.etsi.org/saref#SwitchOnService
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:SwitchOnService rdf:type owl:Class ;
                      rdfs:subClassOf saref:Service ,
                                      [ rdf:type owl:Restriction ;
                                        owl:onProperty saref:isOfferedBy ;
                                        owl:someValuesFrom saref:LightSwitch
                                      ] ,
                                      [ rdf:type owl:Restriction ;
                                        owl:onProperty saref:represents ;
                                        owl:someValuesFrom saref:OnOffFunction
                                      ] ;
                      rdfs:comment "A type of service that represents an on/off function to the network"@en ;
                      rdfs:label "Switch on service"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Task rdf:type owl:Class ;
           rdfs:comment "The goal for which a device is designed (from a user perspective). For example, a washing machine is designed for the task of washing. We propose here a list of tasks that are relevant for the purpose of SAREF, but this list can be extended. Tasks can be accomplished by devices (saref:isAccomplishedBy)."@en ;
           rdfs:label "Task"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Temperature rdf:type owl:Class ;
                  rdfs:subClassOf saref:Property ;
                  rdfs:comment "A saref:Property related to some measurements that are characterized by a certain value that is measured in a temperature unit (degree_Celsius, degree_Fahrenheit, or degree_kelvin)"@en ;
                  rdfs:label "Temperature"@en .
###  https://saref.etsi.org/saref#TemperatureSensor
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:TemperatureSensor rdf:type owl:Class ;
                        rdfs:subClassOf saref:Sensor ,
                                        [ rdf:type owl:Restriction ;
                                          owl:onProperty saref:hasFunction ;
                                          owl:someValuesFrom saref:SensingFunction
                                        ] ,
                                        [ rdf:type owl:Restriction ;
                                          owl:onProperty saref:measuresProperty ;
                                          owl:someValuesFrom saref:Temperature
                                        ] ;
                        rdfs:comment "A sensor that is used for the purpose of sensing a property of type saref:Temperature. A saref:TemperatureSensor is typically used to saref:accomplish saref:Comfort."@en ;
                        rdfs:label "Temperature sensor"@en .
###  https://saref.etsi.org/saref#TemperatureUnit
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:TemperatureUnit rdf:type owl:Class ;
                      rdfs:subClassOf saref:UnitOfMeasure ;
                      rdfs:comment "The unit of measure for temperature"@en ;
                      rdfs:label "Temperature unit"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed

saref:Time rdf:type owl:Class ;
           rdfs:comment "A class that allows to specify the time concept."@en ;
           rdfs:label "Time"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed

Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:ToggleCommand rdf:type owl:Class ;
Maxime Lefrançois's avatar
Maxime Lefrançois committed
                    rdfs:subClassOf saref:Command ,
                                    [ rdf:type owl:Restriction ;
                                      owl:onProperty saref:isCommandOf ;
                                      owl:allValuesFrom saref:OnOffFunction
                                    ] ;
                    rdfs:comment "A type of command"@en ;
                    rdfs:label "Toggle command"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:UnitOfMeasure rdf:type owl:Class ;
                    rdfs:comment "The unit of measure is a standard for measurement of a quantity, such as a Property. For example,  Power is a property and Watt is a unit of power that represents a definite predetermined power: when we say 10 Watt, we actually mean 10 times the definite predetermined power called \"watt\". Our definition is based on the definition of unit of measure in the Ontology of units of Measure (OM). We propose here a list of some units of measure that are relevant for the purpose of SAREF, but this list can be extended, also using some other ontologies rather than the Ontology of units of Measure (OM)."@en ;
                    rdfs:label "Unit of measure"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Water rdf:type owl:Class ;
            rdfs:subClassOf saref:Commodity ;
            rdfs:comment "A type of commodity"@en ;
            rdfs:label "Water"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed


#################################################################
#    Individuals
#################################################################


Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Cleaning rdf:type owl:NamedIndividual ,
                        saref:Task ;
               rdfs:comment "A type of task for which a device is designed"@en ;
               rdfs:label "Cleaning"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed

Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Comfort rdf:type owl:NamedIndividual ,
                       saref:Task ;
              rdfs:comment "A type of task for which a device is designed"@en ;
              rdfs:label "Comfort"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Drying rdf:type owl:NamedIndividual ,
                      saref:Task ;
             rdfs:comment "A type of task for which a device is designed"@en ;
             rdfs:label "Drying"@en .
###  https://saref.etsi.org/saref#EnergyEfficiency
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:EnergyEfficiency rdf:type owl:NamedIndividual ,
                                saref:Task ;
                       rdfs:comment "A type of task for which a device is designed"@en ;
                       rdfs:label "EnergyEfficiency"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Entertainment rdf:type owl:NamedIndividual ,
                             saref:Task ;
                    rdfs:comment "A type of task for which a device is designed"@en ;
                    rdfs:label "Entertainment"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Lighting rdf:type owl:NamedIndividual ,
                        saref:Task ;
               rdfs:comment "A type of task for which a device is designed"@en ;
               rdfs:label "Lighting"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:MeterReading rdf:type owl:NamedIndividual ,
                            saref:Task ;
                   rdfs:comment "A type of task for which a device is designed"@en ;
                   rdfs:label "Meter reading"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed

Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Safety rdf:type owl:NamedIndividual ,
                      saref:Task ;
             rdfs:comment "A type of task for which a device is designed"@en ;
             rdfs:label "Safety"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed

Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:Washing rdf:type owl:NamedIndividual ,
                       saref:Task ;
              rdfs:comment "A type of task for which a device is designed"@en ;
              rdfs:label "Washing"@en .
Maxime Lefrançois's avatar
Maxime Lefrançois committed
saref:WellBeing rdf:type owl:NamedIndividual ,
                         saref:Task ;
                rdfs:comment "A type of task for which a device is designed"@en ;
                rdfs:label "WellBeing"@en .