From bf83f2e57843924f07bbcd47daaa356664806ed9 Mon Sep 17 00:00:00 2001 From: Arndt Date: Mon, 2 Dec 2024 12:16:55 +0100 Subject: [PATCH] #6 Corrections --- OntoMetadataShape.ttl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/OntoMetadataShape.ttl b/OntoMetadataShape.ttl index 8052262..4cbcfc0 100644 --- a/OntoMetadataShape.ttl +++ b/OntoMetadataShape.ttl @@ -93,7 +93,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path [sh:alternativePath ( )]; sh:severity sh:Info ; sh:datatype xsd:string ; - sh:message """You should provide the ontology's preferred namespace prefix or acronym as an xsd:string.\nExample statement (text/turtle): vann:preferredNamespacePrefix \"so\"^^xsd:string .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should provide the ontology's preferred namespace prefix or acronym as an xsd:string.\nRecommended property: \nExample statement (text/turtle): vann:preferredNamespacePrefix \"so\"^^xsd:string .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; sh:description "This shape checks whether the ontology's preferred namespace prefix or acronym is an xsd:string. It produces an info message if it is not."@en ; sh:name "Preferred ontology prefix/ acronym - datatype"@en ; ] ; @@ -257,7 +257,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path owl:versionIRI ; sh:severity sh:Info ; sh:nodeKind sh:IRI; - sh:message """You should state the versionIRI as an IRI. It should not be given as a sring or literal.\nRecommended property: \nExample statement 1 (text/turtle): .\nExample statement 2 (text/turtle): .\nExample statement 3 (text/turtle): .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should state the versionIRI as an IRI. It should not be given as a string or literal.\nRecommended property: \nExample statement 1 (text/turtle): .\nExample statement 2 (text/turtle): .\nExample statement 3 (text/turtle): .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; sh:description "This shape checks whether the ontology versionIRI is provided as an IRI (https://www.w3.org/TR/rdf11-concepts/#dfn-iri) (as compared to a literal). It produces an info message if it is not."@en ; sh:name "Ontology version IRI - datatype"@en ; ] ; @@ -320,7 +320,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path [sh:alternativePath (dcterms:abstract )] ; sh:severity sh:Info ; sh:maxLength 500 ; - sh:message """You should limit the ontology abstract to 500 characters maximum.\nThe TIB Terminology Service requires short ontology descriptions for a user-friendly ontology list.\nTo provide more information about the ontology, add an additional description (recommended property: ) or add a reference to a related article (recommended property: ).\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should limit the ontology abstract to 500 characters maximum.\nThe TIB Terminology Service requires short ontology descriptions for a user-friendly ontology list.\nTo provide more information about the ontology, add an additional description (recommended property: ) or add a reference to a related article (recommended property: ).\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; sh:description "This shape cheks whether the ontology abstract is longer than 500 characters. It produces an info message if it does."@en ; sh:name "Ontology abstract - length"@en ; ] ; @@ -978,7 +978,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path ; sh:severity sh:Info ; sh:xone ( [sh:nodeKind sh:IRI ;] [sh:datatype rdf:langString ;] ); - sh:message """You should provide the link to the ontology's competency questions as an IRI or provide the questions directly as an rdf:langString.\nRecommended property: \nExample statement 1 (text/turtle): \"Who developed an ontology?\"@en .\nExample statement 2 (text/turtle): .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should provide the link to the ontology's competency questions as an IRI or provide the questions directly as an rdf:langString.\nRecommended property: \nExample statement 1 (text/turtle): \"Who developed an ontology?\"@en .\nExample statement 2 (text/turtle): .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; #inconsistent with forms shape sh:description "This shape checks whether the ontology provides competency questions as rdf:langString or an IRI to an online document. It produces an info message if it does not."@en ; sh:name "Competency questions"@en ; ];