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

Merge branch 'issue-6' into 'master'

The property saref:hasDescription is deprecated and the restriction has been removed.

Closes #6

See merge request SAREF/saref-core!22
parents 5c4fb18b e7477766
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -222,6 +222,8 @@ saref:represents rdf:type owl:ObjectProperty ;

###  https://saref.etsi.org/hasDescription
saref:hasDescription rdf:type owl:DatatypeProperty ;
                     owl:deprecated "true"^^xsd:boolean ; 
                     rdfs:comment "DEPRECATED: The use of rdfs:comment is recommended instead."@en ;
                     rdfs:comment "A relationship providing a description of an entity (e.g., device). The value is expected to be a string or a string with language tag."@en ;
                     rdfs:label "has description"@en .

@@ -395,10 +397,6 @@ saref:Device rdf:type owl:Class ;
                               owl:minQualifiedCardinality "1"^^xsd:nonNegativeInteger ;
                               owl:onClass saref:Function
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty saref:hasDescription ;
                               owl:maxCardinality "1"^^xsd:nonNegativeInteger
                             ] ,
                             [ rdf:type owl:Restriction ;
                               owl:onProperty saref:hasManufacturer ;
                               owl:maxCardinality "1"^^xsd:nonNegativeInteger