Commit a0dcc7a7 authored by Maxime Lefrançois's avatar Maxime Lefrançois
Browse files

Merge branch 'issue-24' into 'master'

Updated the definition of hasValue and the restriction on Measurement.

See merge request SAREF/saref-core!19
parents a41255bd 463b1166
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -252,7 +252,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 .


@@ -662,8 +662,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 .