From e7477766b79b968b32f7c260c32be67d48e92de5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rau=CC=81l=20Garci=CC=81a=20Castro?= Date: Thu, 19 Sep 2019 11:29:44 +0800 Subject: [PATCH] The property saref:hasDescription is deprecated and the restriction has been removed. Closes #6. --- ontology/saref.ttl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ontology/saref.ttl b/ontology/saref.ttl index b86b04e..22975ee 100644 --- a/ontology/saref.ttl +++ b/ontology/saref.ttl @@ -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 . @@ -399,10 +401,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 -- GitLab