Commit 8c98be5e authored by Raul Garcia-Castro's avatar Raul Garcia-Castro
Browse files

Merge branch 'issue-40-Feature-of-interest' into 'master'

added saref:FeatureOfInterest and saref:measurementMadeBy

Closes #40

See merge request SAREF/saref-core!26
parents b3e2e68f 69725981
Loading
Loading
Loading
Loading
+60 −7
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
                          dcterms:title "SAREF: the Smart Applications REFerence ontology"@en ;
                          dcterms:license <http://purl.org/NET/rdflicense/cc-by4.0> ;
                          dcterms:contributor <https://www.linkedin.com/in/lauradaniele> ;
                          dcterms:contributor <http://purl.org/net/mpoveda> ;
                          dcterms:contributor <https://w3id.org/people/mpoveda/> ;
                          dcterms:contributor <http://www.garcia-castro.com/foaf.rdf#me> ;
                          dcterms:contributor <http://maxime-lefrancois.info/me#> ;
                          vann:preferredNamespacePrefix "saref" ;
@@ -53,7 +53,7 @@ saref:consistsOf rdf:type owl:ObjectProperty ;

###  https://saref.etsi.org/controlsProperty
saref:controlsProperty rdf:type owl:ObjectProperty ;
                       rdfs:comment "A relationship specifying the Property that can be controlled by a certain Device"@en ;
                       rdfs:comment "A relationship specifying the property that can be controlled by a certain device"@en ;
                       rdfs:label "controls property"@en .


@@ -64,6 +64,13 @@ saref:hasCommand rdf:type owl:ObjectProperty ;
                 rdfs:label "has command"@en .


###  https://saref.etsi.org/isMeasurementOf
saref:isMeasurementOf rdf:type owl:ObjectProperty ;
                      owl:inverseOf saref:hasMeasurement ;
                      rdfs:comment "A relationship between a measurement and the feature of interest whose quality was measured"@en ;
                      rdfs:label "isMeasurementOf"@en .


###  https://saref.etsi.org/hasFunction
saref:hasFunction rdf:type owl:ObjectProperty ;
                  rdfs:comment "A relationship identifying the function of a device"@en ;
@@ -84,7 +91,7 @@ saref:hasMeterReadingType rdf:type owl:ObjectProperty ;

###  https://saref.etsi.org/hasPrice
saref:hasPrice rdf:type owl:ObjectProperty ;
               rdfs:comment "A relationships indentifying the price associated to an entity"@en ;
               rdfs:comment "A relationship indentifying the price associated to an entity"@en ;
               rdfs:label "has price"@en .


@@ -94,6 +101,13 @@ saref:hasProfile rdf:type owl:ObjectProperty ;
                 rdfs:label "has profile"@en .


###  https://saref.etsi.org/hasProperty
saref:hasProperty rdf:type owl:ObjectProperty ;
                  owl:inverseOf saref:isPropertyOf ;
                  rdfs:comment "A relationship between a feature of interest and a property of that feature"@en ;
                  rdfs:label "has property"@en .


###  https://saref.etsi.org/hasSensingRange
saref:hasSensingRange rdf:type owl:ObjectProperty ;
                      rdfs:comment "A relationship between a sensing function and a measurement identifying the range of a sensor detection"@en ;
@@ -132,7 +146,7 @@ saref:hasTypicalConsumption rdf:type owl:ObjectProperty ;

###  https://saref.etsi.org/isAbout
saref:isAbout rdf:type owl:ObjectProperty ;
              rdfs:comment "A relationship identifying what an entity, such as a Profile, is about"@en ;
              rdfs:comment "A relationship identifying what an entity, such as a profile, is about"@en ;
              rdfs:label "isAbout"@en .


@@ -154,6 +168,11 @@ saref:isControlledByDevice rdf:type owl:ObjectProperty ;
                           rdfs:label "is controlled by device"@en .


###  https://saref.etsi.org/hasMeasurement
saref:hasMeasurement rdf:type owl:ObjectProperty ;
                     rdfs:comment "A relationship between a feature of interest and a measurement about it"@en ;
                     rdfs:label "has measurement"@en .

###  https://saref.etsi.org/isMeasuredByDevice
saref:isMeasuredByDevice rdf:type owl:ObjectProperty ;
                         rdfs:comment "A relationship specifying the devices that can measure a certain property"@en ;
@@ -173,6 +192,12 @@ saref:isOfferedBy rdf:type owl:ObjectProperty ;
                  rdfs:label "is offered by"@en .


###  https://saref.etsi.org/isPropertyOf
saref:isPropertyOf rdf:type owl:ObjectProperty ;
                   rdfs:comment "A relationship between a property and the feature of interest it belongs to"@en ;
                   rdfs:label "is property of"@en .


###  https://saref.etsi.org/isUsedFor
saref:isUsedFor rdf:type owl:ObjectProperty ;
                rdfs:comment "A relationship specifying the commodity for which a device is used for"@en ;
@@ -181,9 +206,15 @@ saref:isUsedFor rdf:type owl:ObjectProperty ;

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

###  https://saref.etsi.org/measurementMadeBy
saref:measurementMadeBy rdf:type owl:ObjectProperty ;
                        rdfs:comment "A relation between a measurement and the device that made it."@en ;
                        rdfs:label "measurement made by"@en .


###  https://saref.etsi.org/measuresProperty
saref:measuresProperty rdf:type owl:ObjectProperty ;
@@ -475,6 +506,20 @@ saref:EventFunction rdf:type owl:Class ;
                    rdfs:label "Event function"@en .


###  https://saref.etsi.org/FeatureOfInterest
saref:FeatureOfInterest rdf:type owl:Class ;
                        rdfs:subClassOf [ a owl:Restriction ;
                                          owl:onProperty saref:hasProperty ;
                                          owl:allValuesFrom saref:Property 
                                        ] ,
                                        [ a owl:Restriction ;
                                          owl:onProperty saref:hasMeasurement ;
                                          owl:allValuesFrom saref:Measurement 
                                        ] ; 
                        rdfs:comment "A feature of interest represents any real world entity from which a property is measured."@en ;
                        rdfs:label "Feature of interest"@en .


###  https://saref.etsi.org/Function
saref:Function rdf:type owl:Class ;
               rdfs:subClassOf [ rdf:type owl:Restriction ;
@@ -633,6 +678,10 @@ saref:Load rdf:type owl:Class ;
###  https://saref.etsi.org/Measurement
saref:Measurement rdf:type owl:Class ;
                  rdfs:subClassOf [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:isMeasurementOf ;
                                    owl:allValuesFrom saref:FeatureOfInterest
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:isMeasuredIn ;
                                    owl:allValuesFrom saref:UnitOfMeasure
                                  ] ,
@@ -918,11 +967,15 @@ saref:Property rdf:type owl:Class ;
                                 owl:onProperty saref:isMeasuredByDevice ;
                                 owl:allValuesFrom saref:Device
                               ] ,
                               [ rdf:type owl:Restriction ;
                                 owl:onProperty saref:isPropertyOf ;
                                 owl:allValuesFrom saref:FeatureOfInterest
                               ] ,
                               [ rdf:type owl:Restriction ;
                                 owl:onProperty saref:relatesToMeasurement ;
                                 owl:allValuesFrom saref:Measurement
                               ] ;
               rdfs:comment "Anything that can be sensed, measured or controlled in households, common public buildings or offices. We propose here a list of properties that are relevant for the purpose of SAREF, but this list can be extended."@en ;
               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 .