Commit 463b1166 authored by Raul Garcia-Castro's avatar Raul Garcia-Castro
Browse files

Updated the definition of hasValue and the restriction on Measurement.

Solves #24.
parent 9db63f66
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -251,7 +251,7 @@ saref:hasTimestamp rdf:type owl:DatatypeProperty ;

###  https://saref.etsi.org/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:comment "A relationship defining the value of a certain property, e.g., energy or power. Note that, even if numeric values are expected to enable reasoning, measurement values could use other datatypes."@en ;
               rdfs:label "has value"@en .


@@ -669,8 +669,7 @@ saref:Measurement rdf:type owl:Class ;
                                  ] ,
                                  [ rdf:type owl:Restriction ;
                                    owl:onProperty saref:hasValue ;
                                    owl:qualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                                    owl:onDataRange xsd:float
                                    owl:cardinality "1"^^xsd:nonNegativeInteger
                                  ] ;
                  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 .