Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: Update OntoMetadataShape.ttl #7

Open
wants to merge 94 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
1558deb
Update OntoMetadataShape.ttl
SArndt-TIB Nov 26, 2024
8d6bcce
#6 First updates after testing shapes with ontologies
SArndt-TIB Nov 26, 2024
ccdfc2f
#6 add version optimized for ULB form generator
SArndt-TIB Nov 28, 2024
cdf5326
#6 update base uri and version uri
SArndt-TIB Nov 28, 2024
07ed050
#6 Update messages (blank spaces, line breaks)
SArndt-TIB Nov 28, 2024
302138b
#6 update readme
SArndt-TIB Nov 28, 2024
4a48d62
#6 switch from omv:hasOntologySyntax to mod:hasSyntax\nadd variant of…
SArndt-TIB Nov 29, 2024
d11ea48
#6 Update versionIRI and dates for new version
SArndt-TIB Nov 29, 2024
44edeea
#6 update sh:message for title tests
SArndt-TIB Nov 29, 2024
ddf6bc4
#6 check consistency of list elements and sh:messages
SArndt-TIB Nov 29, 2024
8d48b7c
#6 add shape version for TS
SArndt-TIB Nov 29, 2024
9bf9045
#6 add recommended property back to sh:message for title
SArndt-TIB Dec 2, 2024
fa99ea0
#6 remove linebreak
SArndt-TIB Dec 2, 2024
cedb1d0
#6 add linebreak
SArndt-TIB Dec 2, 2024
02a17ed
#6 remove line break
SArndt-TIB Dec 2, 2024
b23e3f0
#6 Update
SArndt-TIB Dec 2, 2024
288c472
#6 Update
SArndt-TIB Dec 2, 2024
e92478a
#6 Update
SArndt-TIB Dec 2, 2024
8a3ed01
#6 Update
SArndt-TIB Dec 2, 2024
4cf0ff5
#6 Update
SArndt-TIB Dec 2, 2024
070709d
#6 Update
SArndt-TIB Dec 2, 2024
d7cac94
#6 Update
SArndt-TIB Dec 2, 2024
bd52649
#6 Update
SArndt-TIB Dec 2, 2024
f66958b
#6 Update
SArndt-TIB Dec 2, 2024
d482363
#6 Update
SArndt-TIB Dec 2, 2024
71a1305
#6 Update
SArndt-TIB Dec 2, 2024
bf83f2e
#6 Corrections
SArndt-TIB Dec 2, 2024
b622a8f
#6 update README with info about use cases, add screencasts
SArndt-TIB Dec 5, 2024
5b47083
#6 test
SArndt-TIB Dec 5, 2024
e5ab81b
#6 update
SArndt-TIB Dec 5, 2024
ea8ebe6
#6 resolve conflict
SArndt-TIB Dec 5, 2024
79212a7
#6 test
SArndt-TIB Dec 5, 2024
c013ef9
#6 update
SArndt-TIB Dec 5, 2024
1bcddcc
#6 update
SArndt-TIB Dec 5, 2024
4575ea0
#6 update
SArndt-TIB Dec 5, 2024
285fde3
#6 update
SArndt-TIB Dec 5, 2024
c5c2cd9
#6 update
SArndt-TIB Dec 5, 2024
78af684
#6 update
SArndt-TIB Dec 5, 2024
7dd0740
#6 Corrections
SArndt-TIB Dec 5, 2024
242e514
#6 update
SArndt-TIB Dec 5, 2024
436026d
#6 update
SArndt-TIB Dec 5, 2024
b120d56
#6 update
SArndt-TIB Dec 5, 2024
b3c0709
#6 update
SArndt-TIB Dec 5, 2024
1a97865
#6
SArndt-TIB Dec 6, 2024
8a899c2
#6
SArndt-TIB Dec 6, 2024
4a4289a
#6
SArndt-TIB Dec 6, 2024
adfb572
Update README.md
SArndt-TIB Dec 6, 2024
5567f1c
#6
SArndt-TIB Dec 6, 2024
e968d76
Merge branch '6-update-version-2024-05-02' of https://github.com/TIBH…
SArndt-TIB Dec 6, 2024
86969b2
#6
SArndt-TIB Dec 6, 2024
9219461
#6 update ts shape
SArndt-TIB Dec 10, 2024
cd4e255
#6 update
SArndt-TIB Dec 10, 2024
e1c0aca
#6 update
SArndt-TIB Dec 10, 2024
9b0d644
#6 update
SArndt-TIB Dec 10, 2024
99b327a
#6 update
SArndt-TIB Dec 10, 2024
30c39b3
#6 update
SArndt-TIB Dec 10, 2024
2e51988
#6 update
SArndt-TIB Dec 10, 2024
3849f74
#6 update
SArndt-TIB Dec 10, 2024
75a1aaf
#6 update
SArndt-TIB Dec 10, 2024
334125e
#6 update
SArndt-TIB Dec 10, 2024
baacba0
#6 update
SArndt-TIB Dec 10, 2024
3b50a7f
#6 update
SArndt-TIB Dec 10, 2024
eacc808
#6 update
SArndt-TIB Dec 10, 2024
15dcaf6
#6 update
SArndt-TIB Dec 10, 2024
9f062fd
#6 update
SArndt-TIB Dec 10, 2024
5f327c1
#6 update
SArndt-TIB Dec 10, 2024
e4be5a3
#6 update
SArndt-TIB Dec 10, 2024
09033f2
#6 update
SArndt-TIB Dec 10, 2024
aa72506
#6 update
SArndt-TIB Dec 10, 2024
b0f0bf2
#6 Corrections
SArndt-TIB Dec 10, 2024
a23863e
#6 formatting for ts
SArndt-TIB Dec 10, 2024
7d06aec
#6 formatting for ts
SArndt-TIB Dec 10, 2024
4a212f8
#6 formatting for ts
SArndt-TIB Dec 10, 2024
b77ec1d
#6 formatting for ts
SArndt-TIB Dec 10, 2024
4ab069f
#6 formatting for ts
SArndt-TIB Dec 10, 2024
eab9f0f
#6 formatting for ts
SArndt-TIB Dec 10, 2024
2440ef8
#6 formatting for ts
SArndt-TIB Dec 11, 2024
85e42b1
#6 formatting for ts
SArndt-TIB Dec 11, 2024
488dca7
#6 formatting for ts
SArndt-TIB Dec 11, 2024
45353c6
#6 formatting for ts
SArndt-TIB Dec 11, 2024
29e70df
#6 formatting for ts
SArndt-TIB Dec 11, 2024
e0b9405
#6 formatting for ts
SArndt-TIB Dec 11, 2024
3e5fce6
#6 formatting for ts
SArndt-TIB Dec 11, 2024
94d84c6
Update README.md
SArndt-TIB Dec 11, 2024
389783c
#6 add screencast form generator
SArndt-TIB Dec 11, 2024
4b9e62a
#6 corrections (vann namespace), removal of redundant lines, update o…
SArndt-TIB Dec 12, 2024
fa5bc30
#6 update version iri
SArndt-TIB Dec 12, 2024
e468a9e
Update README.md
SArndt-TIB Jan 2, 2025
f838b67
#6 add example values to sh:messages for mandatory fields
SArndt-TIB Jan 22, 2025
262aaaa
#6 add example values to sh:messages for mandatory fields
SArndt-TIB Jan 22, 2025
ed98c18
#6 add example values to sh:messages for mandatory fields
SArndt-TIB Jan 22, 2025
e27f5be
#6 Update after review
SArndt-TIB Jan 23, 2025
2e0681e
Update sh:messages Reference to SHACL updated
SArndt-TIB Jan 24, 2025
6116d7f
#6 Update validation shapes so that all dates may have xsd:date format
SArndt-TIB Jan 24, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#6 Corrections
SArndt-TIB committed Dec 2, 2024
commit bf83f2e57843924f07bbcd47daaa356664806ed9
8 changes: 4 additions & 4 deletions OntoMetadataShape.ttl
Original file line number Diff line number Diff line change
@@ -93,7 +93,7 @@ ontometa:OntologyMetadataShape a sh:NodeShape ;
sh:path [sh:alternativePath (<http://purl.org/vocab/vann/preferredNamespacePrefix> <https://w3id.org/mod#acronym>)];
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): <https://www.purl.org/SomeOntology> 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: <http://purl.org/vocab/vann/preferredNamespacePrefix>\nExample statement (text/turtle): <https://www.purl.org/SomeOntology> 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: <http://www.w3.org/2002/07/owl#versionIRI>\nExample statement 1 (text/turtle): <https://www.purl.org/SomeOntology> <http://www.w3.org/2002/07/owl#versionIRI> <https://www.purl.org/SomeOntology/1.0.0>.\nExample statement 2 (text/turtle): <https://www.purl.org/SomeOntology> <http://www.w3.org/2002/07/owl#versionIRI> <https://www.purl.org/SomeOntology/2019-12-31> .\nExample statement 3 (text/turtle): <http://purl.obolibrary.org/obo/pco.owl> <http://www.w3.org/2002/07/owl#versionIRI> <http://purl.obolibrary.org/obo/pco/releases/2021-05-03/pco.owl> .\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: <http://www.w3.org/2002/07/owl#versionIRI>\nExample statement 1 (text/turtle): <https://www.purl.org/SomeOntology> <http://www.w3.org/2002/07/owl#versionIRI> <https://www.purl.org/SomeOntology/1.0.0>.\nExample statement 2 (text/turtle): <https://www.purl.org/SomeOntology> <http://www.w3.org/2002/07/owl#versionIRI> <https://www.purl.org/SomeOntology/2019-12-31> .\nExample statement 3 (text/turtle): <http://purl.obolibrary.org/obo/pco.owl> <http://www.w3.org/2002/07/owl#versionIRI> <http://purl.obolibrary.org/obo/pco/releases/2021-05-03/pco.owl> .\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 <https://schema.org/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: <http://purl.org/dc/terms/escription>) or add a reference to a related article (recommended property: <http://purl.org/dc/terms/isReferencedBy>).\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: <http://purl.org/dc/terms/description>) or add a reference to a related article (recommended property: <http://purl.org/dc/terms/isReferencedBy>).\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 <https://w3id.org/mod#competencyQuestion> ;
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: <https://w3id.org/mod#competencyQuestion>\nExample statement 1 (text/turtle): <https://www.purl.org/SomeOntology> <https://w3id.org/mod#competencyQuestion> \"Who developed an ontology?\"@en .\nExample statement 2 (text/turtle): <https://www.purl.org/SomeOntology> <https://w3id.org/mod#competencyQuestion> <https://www.example.com/SomeOntologyInfo/Questions#Q1> .\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: <https://w3id.org/mod#competencyQuestion>\nExample statement 1 (text/turtle): <https://www.purl.org/SomeOntology> <https://w3id.org/mod#competencyQuestion> \"Who developed an ontology?\"@en .\nExample statement 2 (text/turtle): <https://www.purl.org/SomeOntology> <https://w3id.org/mod#competencyQuestion> <https://www.example.com/SomeOntologyInfo/Questions#Q1> .\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 ;
];