Unverified Commit 0032ecbc authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

Merge branch 'issue-8' into issue-15

parents dfab7e3e 0341bf02
Loading
Loading
Loading
Loading
+1 −332
Original line number Diff line number Diff line
@@ -75,42 +75,6 @@ vann:preferredNamespaceUri rdf:type owl:AnnotationProperty .
#################################################################


###  https://saref.etsi.org/core/isMeasuredIn
saref:isMeasuredIn rdf:type owl:ObjectProperty ;
                   rdfs:comment "A relation between a measurement and the unit of measure in which the measurement value is expressed."@en ,
                                "is measured in"@en ;
                   rdfs:isDefinedBy "https://saref.etsi.org/core/" .


###  https://saref.etsi.org/core/makesMeasurement
saref:makesMeasurement rdf:type owl:ObjectProperty ;
                       rdfs:comment "A relation between a sensor and the measurements it makes. Such measurement will link together the valur of the measurement, its unit of measure and the property to which it relates."@en ;
                       rdfs:isDefinedBy "https://saref.etsi.org/core/" ;
                       rdfs:label "makes measurement"@en .


###  https://saref.etsi.org/core/measuresProperty
saref:measuresProperty rdf:type owl:ObjectProperty ;
                       rdfs:comment "A relation between a sensor and the property o properties it can take measurement about."@en ;
                       rdfs:isDefinedBy "https://saref.etsi.org/core/" ;
                       rdfs:label "measures property"@en .


###  https://saref.etsi.org/core/relatesToProperty
saref:relatesToProperty rdf:type owl:ObjectProperty ;
                        rdfs:comment "A relation between a measurement and the property such measurement is about."@en ;
                        rdfs:isDefinedBy "https://saref.etsi.org/core/" ;
                        rdfs:label "relates to property"@en .



###  https://saref.etsi.org/saref4envi/contains
:contains rdf:type owl:ObjectProperty ;
          owl:inverseOf :isContainedIn ;
          rdfs:comment "A relation between a physical object and the physical objects that can be contained in it."@en ;
          rdfs:label "contains"@en .


###  https://saref.etsi.org/saref4envi/encapsulates
:encapsulates rdf:type owl:ObjectProperty ;
              owl:inverseOf :hasDigitalRepresentation ;
@@ -125,14 +89,6 @@ saref:relatesToProperty rdf:type owl:ObjectProperty ;
          rdfs:label "has color"@en .


###  https://saref.etsi.org/saref4envi/hasComponent
:hasComponent rdf:type owl:ObjectProperty ;
              owl:inverseOf :isComponentOf ;
              rdf:type owl:TransitiveProperty ;
              rdfs:comment "A relation between a system and the system in which it might be decomposed."@en ;
              rdfs:label "has component"@en .


###  https://saref.etsi.org/saref4envi/hasDigitalRepresentation
:hasDigitalRepresentation rdf:type owl:ObjectProperty ,
                                   owl:InverseFunctionalProperty ;
@@ -178,19 +134,6 @@ saref:relatesToProperty rdf:type owl:ObjectProperty ;
               rdfs:label "is component of"@en .


###  https://saref.etsi.org/saref4envi/isConnectedTo
:isConnectedTo rdf:type owl:ObjectProperty ,
                        owl:SymmetricProperty ;
               rdfs:comment "A relation between a system and the system to which it is connected."@en ;
               rdfs:label "is connected to"@en .


###  https://saref.etsi.org/saref4envi/isContainedIn
:isContainedIn rdf:type owl:ObjectProperty ;
               rdfs:comment "A relation between a physical object and the physical object in which it might be contained."@en ;
               rdfs:label "is contained in"@en .


###  https://saref.etsi.org/saref4envi/isProjectedFromHeight
:isProjectedFromHeight rdf:type owl:ObjectProperty ;
                       rdfs:comment "A relation between a light and the height measurement from which it is projected."@en ;
@@ -225,50 +168,6 @@ saref:relatesToProperty rdf:type owl:ObjectProperty ;
#    Data properties
#################################################################

###  https://saref.etsi.org/core/hasDescription
saref:hasDescription rdf:type owl:DatatypeProperty ;
                     rdfs:comment "A relationship providing a description of an entity (e.g., device)"@en ;
                     rdfs:isDefinedBy saref: ;
                     rdfs:label "has description"@en .


###  https://saref.etsi.org/core/hasManufacturer
saref:hasManufacturer rdf:type owl:DatatypeProperty ;
                      rdfs:comment "A relationship identifying the manufacturer of an entity (e.g., device)"@en ;
                      rdfs:isDefinedBy saref: ;
                      rdfs:label "has manufacturer"@en .


# ###  https://saref.etsi.org/core/hasName
# saref:hasName rdf:type owl:DatatypeProperty ;
#               rdfs:comment "A relationship providing the name of an entity (e.g., device)"@en ;
#               rdfs:isDefinedBy saref: ;
#               rdfs:label "has name"@en .


###  https://saref.etsi.org/core/hasTimestamp
saref:hasTimestamp rdf:type owl:DatatypeProperty ,
                            owl:FunctionalProperty ;
                   rdfs:range xsd:dateTime ;
                   rdfs:comment "A relationship stating the timestamp of an entity (e.g. a measurement)."@en ;
                   rdfs:isDefinedBy "https://saref.etsi.org/core/" ;
                   rdfs:label "has timestamp"@en .


###  https://saref.etsi.org/core/hasValue
saref:hasValue rdf:type owl:DatatypeProperty ;
               rdfs:comment "A relationship defining the value of a certain property, e.g., energy or power"@en ;
               rdfs:isDefinedBy saref: ;
               rdfs:label "has value"@en .


###  https://saref.etsi.org/saref4envi/hasCreationDate
:hasCreationDate rdf:type owl:DatatypeProperty ,
                          owl:FunctionalProperty ;
                 rdfs:range xsd:dateTime ;
                 rdfs:comment "A relationship defining the creation date of an entity (e.g., a digital representation)."@en ;
                 rdfs:label "has creation date"@en .


###  https://saref.etsi.org/saref4envi/hasFlash
:hasFlash rdf:type owl:DatatypeProperty ,
@@ -320,132 +219,9 @@ saref:hasValue rdf:type owl:DatatypeProperty ;
#    Classes
#################################################################

###  http://www.w3.org/2006/time#TemporalUnit
time:TemporalUnit rdf:type owl:Class ;
                  rdfs:subClassOf saref:UnitOfMeasure ;
                  rdfs:comment "A temporal unit of measure, which provides a scale factor for a time quantity."@en ;
                  rdfs:isDefinedBy time: ;
                  rdfs:label "Temporal unit"@en .


###  https://saref.etsi.org/core/Device
saref:Device rdf:type owl:Class ;
             rdfs:comment "A tangible object designed to accomplish a particular task in households, common public buildings or offices. In order to accomplish this task, the device performs one or more functions. For example, a washing machine is designed to wash (task) and to accomplish this task it performs the start and stop function."@en ;
             rdfs:isDefinedBy saref: ;
             rdfs:label "Device"@en .


###  https://saref.etsi.org/core/Measurement
saref:Measurement rdf:type owl:Class ;
                  rdfs:subClassOf [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:isMeasuredIn ;
                                    owl:allValuesFrom saref:UnitOfMeasure
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:relatesToProperty ;
                                    owl:allValuesFrom saref:Property
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:isMeasuredIn ;
                                    owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                    owl:onClass saref:UnitOfMeasure
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:relatesToProperty ;
                                    owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                    owl:onClass saref:Property
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:hasTimestamp ;
                                    owl:allValuesFrom xsd:dateTime
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:hasValue ;
                                    owl:allValuesFrom xsd:float
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:hasValue ;
                                    owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                    owl:onDataRange xsd:float
                                  ] ;
                  owl:disjointWith saref:Property ,
                                   saref:Service ,
                                   saref:UnitOfMeasure ,
                                   :CommunicationInterface ,
                                   :CommunicationProtocol ,
                                   :CompassDirection ,
                                   :DigitalRepresentation ,
                                   :Geometry ,
                                   :Light ;
                  rdfs:comment "Represents the measured value made over a property. It is also linked to the unit of measure in which the value is expressed and the timestamp of the measurement."@en ;
                  rdfs:label "Measurement"@en .


###  https://saref.etsi.org/core/Property
saref:Property rdf:type owl:Class ;
               owl:disjointWith saref:Service ,
                                saref:UnitOfMeasure ,
                                :CommunicationInterface ,
                                :CommunicationProtocol ,
                                :CompassDirection ,
                                :Geometry ,
                                :Light ;
               rdfs:comment "An aspect of an entity that can be observable by a sensor."@en ;
               rdfs:label "Property"@en .


###  https://saref.etsi.org/core/Sensor
saref:Sensor rdf:type owl:Class ;
             rdfs:subClassOf saref:Device ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty saref:makesMeasurement ;
                               owl:allValuesFrom saref:Measurement
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty saref:measuresProperty ;
                               owl:allValuesFrom saref:Property
                             ] ;
             rdfs:comment """A device that detects and responds to events or changes in the physical environment such as light, motion, or temperature changes.
A device that has category saref:Sensor and performs a saref:SensingFunction."""@en ;
             rdfs:isDefinedBy saref: ;
             rdfs:label "Sensor"@en .


###  https://saref.etsi.org/core/Service
saref:Service rdf:type owl:Class ;
              owl:disjointWith saref:UnitOfMeasure ,
                               :Color ,
                               :CommunicationProtocol ,
                               :CompassDirection ,
                               :Geometry ,
                               :Light ;
              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, the function(s) to be represented, and the (input and output) parameters necessary to operate the service."@en ;
              rdfs:isDefinedBy saref: ;
              rdfs:label "Service"@en .


###  https://saref.etsi.org/core/UnitOfMeasure
saref:UnitOfMeasure rdf:type owl:Class ;
                    owl:disjointWith :Color ,
                                     :CommunicationInterface ,
                                     :CommunicationProtocol ,
                                     :CompassDirection ,
                                     :DigitalRepresentation ,
                                     :Geometry ,
                                     :Light ;
                    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 the Smart Appliances ontology, but this list can be extended."@en ;
                    rdfs:isDefinedBy saref: ;
                    rdfs:label "Unit of measure"@en .


###  https://saref.etsi.org/saref4envi/Color
:Color rdf:type owl:Class ;
       owl:disjointWith :CommunicationInterface ,
                        :CommunicationProtocol ,
                        :CompassDirection ,
                        :DigitalRepresentation ,
                        :Geometry ,
                        :Light ;
       rdfs:comment "Color of the emitted light. It might be indicated by named colors or using other type of color values like hexadecimal for RGB, color temperature, etc."@en ;
       rdfs:label "Color"@en .

@@ -461,81 +237,27 @@ saref:UnitOfMeasure rdf:type owl:Class ;
                                          owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                          owl:onDataRange xsd:string
                                        ] ;
                        owl:disjointWith :CommunicationProtocol ,
                                         :CompassDirection ,
                                         :DigitalRepresentation ,
                                         :Geometry ,
                                         :Light ;
                        rdfs:comment "An interface defines which primitive operations and services the lower layer makes available to the upper one, when referring to network layers. (Definition adapted from \"Tanenbaum, A. S. (2003). Computer networks, 4-th edition. ed: Prentice Hall.\")"@en ;
                        rdfs:label "Communication interface"@en .


###  https://saref.etsi.org/saref4envi/CommunicationProtocol
:CommunicationProtocol rdf:type owl:Class ;
                       owl:disjointWith :CompassDirection ,
                                        :DigitalRepresentation ,
                                        :Geometry ,
                                        :Light ;
                       rdfs:comment "A protocol is an agreement between the communicating parties on how communication is to proceed. (Definition taken from \"Tanenbaum, A. S. (2003). Computer networks, 4-th edition. ed: Prentice Hall.\")"@en ;
                       rdfs:label "Communication protocol"@en .


###  https://saref.etsi.org/saref4envi/CompassDirection
:CompassDirection rdf:type owl:Class ;
                  owl:disjointWith :DigitalRepresentation ,
                                   :Geometry ,
                                   :Light ;
                  rdfs:comment "The four cardinal directions or cardinal points are the directions of north, east, south, and west, commonly denoted by their initials: N, E, S, W. East and west are at right angles to north and south, with east being in the clockwise direction of rotation from north and west being directly opposite east. Intermediate points between the four cardinal directions form the points of the compass. (definition taken from https://en.wikipedia.org/wiki/Cardinal_direction)"@en ;
                  rdfs:label "Compass direction"@en .


###  https://saref.etsi.org/saref4envi/Device
:Device rdf:type owl:Class ;
        rdfs:subClassOf saref:Device ,
                        :System ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :hasFrequencyMeasurement ;
                          owl:allValuesFrom :FrequencyMeasurement
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :hasTransmissionPeriod ;
                          owl:allValuesFrom :PeriodMeasurement
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :isContainedIn ;
                          owl:allValuesFrom :PhysicalObject
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty saref:hasManufacturer ;
                          owl:allValuesFrom xsd:string
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :hasRevisionNumber ;
                          owl:allValuesFrom xsd:string
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :hasVersion ;
                          owl:allValuesFrom xsd:string
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :hasRevisionNumber ;
                          owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                          owl:onDataRange xsd:string
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :hasVersion ;
                          owl:maxQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                          owl:onDataRange xsd:string
                        ] ;
        rdfs:comment "A thing made or adapted for a particular purpose, especially a piece of mechanical or electronic equipment. For example ‘a measuring device’ (definition taken from https://en.oxforddictionaries.com/definition/device). In this ontology it refers to the devices for environmental purposes."@en ;
        rdfs:label "Device"@en .


###  https://saref.etsi.org/saref4envi/DigitalRepresentation
:DigitalRepresentation rdf:type owl:Class ;
                       rdfs:subClassOf [ rdf:type owl:Restriction ;
                                         owl:onProperty :encapsulates ;
                                         owl:allValuesFrom :PhysicalObject
                                         owl:allValuesFrom [ a owl:Class ; owl:intersectionOf ( saref:FeatureOfInterest geo:Feature ) ]
                                       ] ,
                                       [ rdf:type owl:Restriction ;
                                         owl:onProperty :isAccesibleThrough ;
@@ -566,8 +288,6 @@ saref:UnitOfMeasure rdf:type owl:Class ;
                                         owl:onProperty saref:hasIdentifier ;
                                         owl:maxCardinality "1"^^xsd:nonNegativeInteger
                                       ] ;
                       owl:disjointWith :Geometry ,
                                        :Light ;
                       rdfs:comment "A digital representation encapsulates a physical object accessible via Web services"@en ;
                       rdfs:label "Digital representation"@en .

@@ -597,7 +317,6 @@ saref:UnitOfMeasure rdf:type owl:Class ;

###  https://saref.etsi.org/saref4envi/Geometry
:Geometry rdf:type owl:Class ;
          owl:disjointWith :Light ;
          rdfs:comment "Represents the shape of the light emission. It might be instantiated by individuals like \"spherical\", \"cylindrical\", etc. even though it is open to more comples representation of geometries using other vocabularies."@en ;
          rdfs:label "Geometry"@en .

@@ -719,56 +438,6 @@ saref:UnitOfMeasure rdf:type owl:Class ;
            rdfs:label "Photometer"@en .


###  https://saref.etsi.org/saref4envi/PhysicalObject
:PhysicalObject rdf:type owl:Class ;
                rdfs:subClassOf saref:FeatureOfInterest , geo:Feature ,
                                [ rdf:type owl:Restriction ;
                                  owl:onProperty :contains ;
                                  owl:allValuesFrom :PhysicalObject
                                ] ,
                                [ rdf:type owl:Restriction ;
                                  owl:onProperty :hasDigitalRepresentation ;
                                  owl:allValuesFrom :DigitalRepresentation
                                ] ,
                                [ rdf:type owl:Restriction ;
                                  owl:onProperty :isContainedIn ;
                                  owl:allValuesFrom :PhysicalObject
                                ] ,
                                [ rdf:type owl:Restriction ;
                                  owl:onProperty saref:hasDescription ;
                                  owl:allValuesFrom xsd:string
                                ] ;
                rdfs:comment "Any Object that has a proper space region.  (Definition extracted from DUL ontology)"@en ;
                rdfs:label "Physical object"@en .


###  https://saref.etsi.org/saref4envi/System
:System rdf:type owl:Class ;
        rdfs:subClassOf :PhysicalObject ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :hasComponent ;
                          owl:allValuesFrom :System
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :isComponentOf ;
                          owl:allValuesFrom :System
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :isConnectedTo ;
                          owl:allValuesFrom :System
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :usesCommunicationInterface ;
                          owl:allValuesFrom :CommunicationInterface
                        ] ,
                        [ rdf:type owl:Restriction ;
                          owl:onProperty :usesCommunicationProtocol ;
                          owl:allValuesFrom :CommunicationProtocol
                        ] ;
        rdfs:comment "A group of related hardware units or programs or both, especially when dedicated to a single application. (Definition taken from https://en.oxforddictionaries.com/definition/system)"@en ;
        rdfs:label "System"@en .


###  https://saref.etsi.org/saref4envi/TESS
:TESS rdf:type owl:Class ;
      rdfs:subClassOf :Photometer ;