From b0f0bf2bed050d8ac32d798bec9bdb8efcc25b9a Mon Sep 17 00:00:00 2001 From: Arndt Date: Tue, 10 Dec 2024 16:54:50 +0100 Subject: [PATCH] #6 Corrections --- OntoMetadataShape.ttl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/OntoMetadataShape.ttl b/OntoMetadataShape.ttl index 4890a25..fa6fdcd 100644 --- a/OntoMetadataShape.ttl +++ b/OntoMetadataShape.ttl @@ -73,7 +73,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:severity sh:Info ; sh:datatype rdf:langString ; sh:uniqueLang true ; - sh:message """You should make the ontology title an rdf:langString by adding a language tag to it.\nThere may be only title per language.\nRecommended property: .\nExample statement (text/turtle): dcterms:title \"Some Ontology\"@en .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should make the ontology title an rdf:langString by adding a language tag to it.\nThere may be only one title per language.\nRecommended property: .\nExample statement (text/turtle): dcterms:title \"Some Ontology\"@en .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; sh:description "This shape checks whether the ontology title literal value is an rdf:langString and whether only one title per language is given. It produces an info message if the title does not carry a language tag or if several titles in the same language are present."@en ; sh:name "Ontology title - datatype"@en ; ] ; @@ -382,7 +382,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path ; sh:severity sh:Info ; sh:minCount 1 ; - sh:message """If applicable, you should reference any institutions funding the work on the ontology.\nThe funding instution(s) should be referenced by PIDs, e.g. RORs (https://ror.org/) or Crossref Funder Registry IDs (https://www.crossref.org/services/funder-registry/)).\nRecommended property: \nExample statement (text/turtle): .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """If applicable, you should reference any institutions funding the work on the ontology.\nThe funding institution(s) should be referenced by PIDs, e.g. RORs (https://ror.org/) or Crossref Funder Registry IDs (https://www.crossref.org/services/funder-registry/)).\nRecommended property: \nExample statement (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 references funding information. It produces an info message if not."@en ; sh:name "Ontology funder"@en ; ] ; @@ -457,7 +457,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path dcterms:subject ; sh:severity sh:Info ; sh:nodeKind sh:IRI ; - sh:message """You should provide ontology subjects with IRIs from controlled vocabularies or ontologies.\nYou can search for fitting terms on TIB Terminology Service (https://terminology.tib.eu).\nRecommended property: \nExample statement (text/turtle): dcterms:subject , , , .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should provide ontology subjects with IRIs from controlled vocabularies or ontologies. Subjects should not be given as free text.\nYou can search for fitting terms on TIB Terminology Service (https://terminology.tib.eu).\nRecommended property: \nExample statement (text/turtle): dcterms:subject , , , .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; sh:description "This shape checks whether the ontology provides its subjects via IRIs. It produces an info message if it does not."@en ; sh:name "Ontology subject(s) - datatype"@en ; ] ; @@ -487,7 +487,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path [sh:alternativePath (dcterms:language ) ]; sh:severity sh:Info ; sh:pattern "(^http://id.loc.gov/vocabulary/iso639-2/[a-z]{3}$|^https://id.loc.gov/vocabulary/iso639-2/[a-z]{3}$)" ; - sh:message """You should provide ontology annotation language values that match the pattern for language identifiers from 'ISO 639-2: Codes for the Representation of Names of Languages - Part 2: Alpha-3 Code for the Names of Languages' (cf. https://id.loc.gov/vocabulary/iso639-2.html).\nExample identifier: \nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should provide ontology annotation language values that match the pattern for language identifiers from 'ISO 639-2: Codes for the Representation of Names of Languages - Part 2: Alpha-3 Code for the Names of Languages' (cf. https://id.loc.gov/vocabulary/iso639-2.html).\nExample identifier: \nRecommended property: https://schema.org/inLanguage\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; sh:description "This shape checks whether the values for language coverage match the pattern for language identifiers from 'ISO 639-2: Codes for the Representation of Names of Languages - Part 2: Alpha-3 Code for the Names of Languages'. It produces an info message if they do not."@en ; sh:name "Ontology annotation language(s) - pattern"@en ; ] ; @@ -707,7 +707,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path [sh:alternativePath (dc:description dcterms:description schema:description)] ; sh:severity sh:Info ; sh:uniqueLang true ; - sh:message """You should only provide one ontology description per language.\nRecommended property: \nExample statements (text/turtle): schema:description \"Free text describing the ontology and how it came to be. Basically everything you might want to add and which does not fit into the abstract.\"@en, \"Freitext, der die Ontologie und ihre Genese beschreibt. Hier können umfangreiche Hintergrundinformationen zur Ontologie gegeben werden, die über ein kurzes Abstract hinausgehen.\" .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should only provide one ontology description per language.\nRecommended property: \nExample statements (text/turtle): schema:description \"Free text describing the ontology and how it came to be. Basically everything you might want to add and which does not fit into the abstract.\"@en, \"Freitext, der die Ontologie und ihre Genese beschreibt. Hier können umfangreiche Hintergrundinformationen zur Ontologie gegeben werden, die über ein kurzes Abstract hinausgehen.\"@de .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; sh:description "This shape checks whether multiple ontology descriptions in the same language are present. It produces an info message if there are multiple descriptions in the same language."@en ; sh:name "Ontology description - unique language"@en ; ] ; @@ -933,7 +933,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path [sh:alternativePath ( )] ; sh:severity sh:Info ; sh:nodeKind sh:IRI ; - sh:message """You should provide links to depictions related to the ontology as IRIs.\nRecommended property: \nExample statement (text/turtle): foaf:logo \nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/ """@en ; + sh:message """You should provide links to depictions related to the ontology as IRIs.\nRecommended property: \nExample statement (text/turtle): foaf:logo .\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 related depictions are provided via IRI. It produces an info message if they are not."@en ; sh:name "Ontology logo/ depiction/ related visualizations"@en ; ]; @@ -1022,7 +1022,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:severity sh:Info ; sh:datatype xsd:dateTime ; sh:maxCount 1 ; - sh:message """You should provide at most one ontology issue date that conforms to xsd:dateTime.\nRecommended property: \nExample statement: \"2023-11-21T00:00:00\"^^xsd:dateTime .\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/ """@en ; + sh:message """You should provide at most one ontology issue date that conforms to xsd:dateTime.\nRecommended property: \nExample statement (text/turtle): \"2023-11-21T00:00:00\"^^xsd:dateTime .\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 issue date conforms to xsd:dateTime. It produces an info message if it does not."@en ; sh:name "Ontology issue date - datatype"@en ; ] ; @@ -1048,7 +1048,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:severity sh:Info ; sh:xone ( [sh:datatype xsd:string ;] [sh:datatype rdf:langString ;] ); # sh:datatype xsd:string ; - sh:message """You should provide textual information about the ontology version as an xsd:string.\nIt is recommended to use semantic versioning (cf. https://semver.org/) or OBO style date-based versioning (http://obofoundry.org/principles/fp-004-versioning.html).\nIf you need to add a larger comment in natural language, you should provide the info as an rdf:langString, i.e. with a language tag. We do not encourage this, since such statements can most likely be expressed in more granular fashion with formal statements.\nRecommended property: \nExample statement 1: owl:versionInfo \"2023-01-01\"^^xsd:string .\nExample statement 2: owl:versionInfo \"1.0.0\"^^xsd:string.\nExample statement 3: owl:versionInfo \"Ontology version 1.0.0 of the subject classification in tabular format from Nov 2024.\"@en.\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should provide textual information about the ontology version as an xsd:string.\nIt is recommended to use semantic versioning (cf. https://semver.org/) or OBO style date-based versioning (http://obofoundry.org/principles/fp-004-versioning.html).\nIf you need to add a larger comment in natural language, you should provide the info as an rdf:langString, i.e. with a language tag. We do not encourage this, since such statements can most likely be expressed in more granular fashion with formal statements.\nRecommended property: \nExample statement 1 (text/turtle): owl:versionInfo \"2023-01-01\"^^xsd:string .\nExample statement 2 (text/turtle): owl:versionInfo \"1.0.0\"^^xsd:string.\nExample statement 3: owl:versionInfo \"Ontology version 1.0.0 of the subject classification in tabular format from Nov 2024.\"@en.\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; sh:description "This shape checks whether the ontology provides at most one textual version information as an xsd:string. It produces an info message if not."@en ; sh:name "Ontology version information"@en ; ] ; @@ -1057,7 +1057,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ; sh:path [sh:alternativePath (owl:versionInfo pav:version)]; sh:severity sh:Info ; sh:maxCount 1 ; - sh:message """You should provide at most one textual information about the ontology version.\nThe value should be providee as an xsd:string.\nIt is recommended to use semantic versioning (cf. https://semver.org/) or OBO style date-based versioning (http://obofoundry.org/principles/fp-004-versioning.html).\nRecommended property: \nExample statement 1: owl:versionInfo \"2023-01-01\"^^xsd:string .\nExample statement 2: owl:versionInfo \"1.0.0\"^^xsd:string.\nNeed help? Learn more about SHACL: https://www.w3.org/TR/2017/REC-shacl-20170720/"""@en ; + sh:message """You should provide at most one textual information about the ontology version.\nThe value should be providee as an xsd:string.\nIt is recommended to use semantic versioning (cf. https://semver.org/) or OBO style date-based versioning (http://obofoundry.org/principles/fp-004-versioning.html).\nRecommended property: \nExample statement 1 (text/turtle): owl:versionInfo \"2023-01-01\"^^xsd:string .\nExample statement 2 (text/turtle): owl:versionInfo \"1.0.0\"^^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 provides at most one textual version information as an xsd:string. It produces an info message if not."@en ; sh:name "Ontology version information"@en ; ] ;