diff --git a/ontology/saref.ttl b/ontology/saref.ttl index ddc6f9c1093f9ddbe0e9c02db6e912afb95654b6..df6a30e11a4d7a9788a5e03c7a0aea05da905f97 100644 --- a/ontology/saref.ttl +++ b/ontology/saref.ttl @@ -18,7 +18,7 @@ dcterms:title "SAREF: the Smart Applications REFerence ontology"@en ; dcterms:license ; dcterms:contributor ; - dcterms:contributor ; + dcterms:contributor ; dcterms:contributor ; dcterms:contributor ; 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,10 +101,17 @@ 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 ; - rdfs:label "has sensing range "@en . + rdfs:label "has sensing range"@en . ### https://saref.etsi.org/hasSensorType @@ -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 ] , @@ -904,7 +953,7 @@ saref:Profile rdf:type owl:Class ; ) ] ] ; - rdfs:comment "A specification associated to a device to collect information about a certain Property (e.g., Energy) for optimizing its usage in the home, office or building in which the device is located. This specification is about a certain Property (saref:isAbout), can be calculated over a time span (saref:hasTime ) and can be associated to some costs (saref:hasPrice). An example is the Power Profile defined in the SAREF4ENER extension that can be associated to a device for optimizing the Energy efficiency in the home, office or building in which the device is located."@en ; + rdfs:comment "A specification associated to a device to collect information about a certain Property (e.g., Energy) for optimizing its usage in the home, office or building in which the device is located. This specification is about a certain Property (saref:isAbout), can be calculated over a time span (saref:hasTime) and can be associated to some costs (saref:hasPrice). An example is the Power Profile defined in the SAREF4ENER extension that can be associated to a device for optimizing the Energy efficiency in the home, office or building in which the device is located."@en ; rdfs:label "Profile"@en . @@ -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 .