From b868adf8b72fbff474d4c3c994680d07b97f23ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=ADa?= Date: Wed, 22 May 2019 17:40:26 +0200 Subject: [PATCH] Removed range for saref:hasDescription, saref:hasManufacturer, saref:hasModel, saref:hasName and added a comment about their expected value type --- ontology/saref.ttl | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/ontology/saref.ttl b/ontology/saref.ttl index b6ac638..ca2d7df 100644 --- a/ontology/saref.ttl +++ b/ontology/saref.ttl @@ -222,29 +222,25 @@ saref:represents rdf:type owl:ObjectProperty ; ### https://w3id.org/saref#hasDescription saref:hasDescription rdf:type owl:DatatypeProperty ; - rdfs:range xsd:string ; - rdfs:comment "A relationship providing a description of an entity (e.g., device)"^^xsd:string ; + 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."^^xsd:string ; rdfs:label "has description"^^xsd:string . ### https://w3id.org/saref#hasManufacturer saref:hasManufacturer rdf:type owl:DatatypeProperty ; - rdfs:range xsd:string ; - rdfs:comment "A relationship identifying the manufacturer of an entity (e.g., device)"^^xsd:string ; + rdfs:comment "A relationship identifying the manufacturer of an entity (e.g., device). The value is expected to be a string or a string with language tag."^^xsd:string ; rdfs:label "has manufacturer"^^xsd:string . ### https://w3id.org/saref#hasModel saref:hasModel rdf:type owl:DatatypeProperty ; - rdfs:range xsd:string ; - rdfs:comment "A relationship identifying the model of an entity (e.g., device)"^^xsd:string ; + rdfs:comment "A relationship identifying the model of an entity (e.g., device). The value is expected to be a string or a string with language tag."^^xsd:string ; rdfs:label "has model"^^xsd:string . ### https://w3id.org/saref#hasName saref:hasName rdf:type owl:DatatypeProperty ; - rdfs:range xsd:string ; - rdfs:comment "A relationship providing the name of an entity (e.g., device)"^^xsd:string ; + rdfs:comment "A relationship providing the name of an entity (e.g., device). The value is expected to be a string or a string with language tag."^^xsd:string ; rdfs:label "has name"^^xsd:string . -- GitLab