Skip to content

Commit

Permalink
Draft: Update OntoMetadataShape.ttl (#7)
Browse files Browse the repository at this point in the history
Changes:

* update shape after testing with few ontologies (cf. #6)
* add two new use cases and update/ add shapes accordingly
  * ontology metadata validation by ontology engineers with online SHACL tools (old)
  * ontology metadata validation at TIB Terminology Service > optimization of error messages for TIB TS Ontology suggestion feature UI
  * ontology form generator from ULB Darmstadt
* update README with screencasts for each use case
* update MetadataGuide (*.md, *.html, .pdf) and shapes
  * more date formats supported
  * more fine-grained license shapes
  * edit sh:messages for understandability
  * more consistent prefixing of IRIs
* update DummyOntos
* update metadata and PURLs of shapes
* kill restriction that only one documentation link may be provided
* switch from <http://omv.ontoware.org/2005/05/ontology#hasOntologySyntax> to <https://w3id.org/mod#hasSyntax>
* switch from <https://vocab.org/vann/example> to <http://purl.org/vocab/vann/example>
---------

Co-authored-by: Philip Strömert (TIB) @StroemPhi 
Co-authored-by: Anette Ganske (TIB)
  • Loading branch information
SArndt-TIB authored Jan 31, 2025
1 parent 25e391f commit 0e9fc1d
Show file tree
Hide file tree
Showing 16 changed files with 4,517 additions and 776 deletions.
Binary file added .github/images/form_generator-low-qual.mp4
Binary file not shown.
Binary file added .github/images/ontology_suggestion.mp4
Binary file not shown.
Binary file added .github/images/terminology_metadata-00001.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/images/validate-metadata-low-qual.mp4
Binary file not shown.
Binary file added .github/images/validate-metadata.mov
Binary file not shown.
Binary file added .github/images/validate-metadata.mp4
Binary file not shown.
3 changes: 2 additions & 1 deletion DummyOntoFAILS.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@


<https://www.purl.org/ontologymetadata/DummyOntoFAILS> rdf:type owl:Ontology ;
dcterms:license <https://creativecommons.org/licenses/by-nd/3.0/de/legalcode>.
dcterms:license <https://creativecommons.org/licenses/by-nd/3.0/de/legalcode> ;
dcterms:creator "John Doe" .

<https://www.purl.org/ontologymetadata/DummyOntoFAILS#1> a owl:Class .
73 changes: 40 additions & 33 deletions DummyOntoPASSES.ttl
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
@base <https://www.purl.org/ontologymetadata/DummyOntoPASSES> .
@prefix : <https://www.purl.org/ontologymetadata/DummyOntoPASSES#> .
@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix bibo: <http://purl.org/ontology/bibo/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix idot: <http://identifiers.org/idot/> .
@prefix mod: <https://w3id.org/mod#> .
@prefix obo: <http://purl.obolibrary.org/obo/>.
@prefix omv: <http://omv.ontoware.org/2005/05/ontology#>.
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix pav: <http://purl.org/pav/> .
@prefix premis: <http://www.loc.gov/premis/rdf/v3/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sdo: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix mod: <https://w3id.org/mod#> .
@prefix adms: <http://www.w3.org/ns/adms#> .
@prefix doap: <http://usefulinc.com/ns/doap#> .
@prefix premis: <http://www.loc.gov/premis/rdf/v3/> .
@prefix schema: <https://schema.org/> .
@prefix pav: <http://purl.org/pav/> .
@prefix idot: <http://identifiers.org/idot/> .
@prefix sssom: <https://w3id.org/sssom/>.
@prefix vann: <http://purl.org/vocab/vann/> .
@prefix void: <http://rdfs.org/ns/void#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

#Mandatory metadata
<https://www.purl.org/ontologymetadata/DummyOntoPASSES> rdf:type owl:Ontology ;
dcterms:title "The English name of the ontology"@en , "Der deutsche Name der Ontologie"@de ;
vann:preferredNamespacePrefix "DOP"^^xsd:string ;
mod:acronym "DOP"^^xsd:string ;
dcterms:license <https://creativecommons.org/licenses/by/3.0/> ;
dc:creator <https://orcid.org/0000-0000-0000-0000>;
dcterms:creator <https://orcid.org/0000-0000-0000-0000>;
owl:versionIRI <https://www.purl.org/ontologymetadata/DummyOntoPASSES/0.1> ;
dcterms:created "2023-08-31T10:15:00"^^xsd:dateTime ;
dcterms:modified "2023-08-31T10:19:00"^^xsd:dateTime ;
Expand All @@ -37,47 +43,48 @@
#Recommended metadata
dcterms:contributor <0000-0000-0000-0000> ;
#contact data missing - won't add
schema:funder <https://ror.org/018mejw64> ;
sdo:funder <https://ror.org/018mejw64> ;
sdo:funding <http://example.com/a-grant-id> ;
doap:audience "DummyOntoPASSES has been developed for ontology engineers to demonstrate ontology metadata recommendations by TIB Terminology Service. It can be used with the TIB Terminology Service Ontology Metadata Shape in SHACL validators and should trigger no violations or warnings."@en ;
dcterms:subject <https://purl.org/linsearch/inf> ;
schema:inLanguage <https://id.loc.gov/vocabulary/iso639-2/deu> ;
sdo:inLanguage <https://id.loc.gov/vocabulary/iso639-2/deu> ;
mod:hasFormalityLevel "The DummyOntoPASSES aplies OWL2 EL (cf. https://www.w3.org/TR/2012/REC-owl2-profiles-20121211/#OWL_2_EL)"@en ;
<http://omv.ontoware.org/2005/05/ontology#hasOntologySyntax> <http://www.w3.org/ns/formats/Turtle> ;
<http://purl.org/ontology/bibo/status> "active"@en ;
mod:hasSyntax <http://www.w3.org/ns/formats/Turtle> ;
bibo:status "active"@en ;
doap:repository <https://github.com/StroemPhi/Ontology-Metadata> ;
<http://www.w3.org/ns/dcat#distribution> <https://www.purl.org/ontologymetadata/DummyOntoPASSES.owl> ;
<https://vocab.org/vann/example> <https://www.purl.org/ontologymetadata/DummyOntoPASSES/docs/descriptionOfUse> ;
dcat:distribution <https://www.purl.org/ontologymetadata/DummyOntoPASSES.owl> ;
vann:example <https://www.purl.org/ontologymetadata/DummyOntoPASSES/docs/descriptionOfUse> ;
dcterms:isReferencedBy <https://zenodo.org/record/0000000> ;
dcterms:references <https://example.com/some-paper-referenced-by-the-ontology> ;
dcterms:bibliographicCitation "TIB (2023): DummyOntoPASSES. An ontology demonstrating rich ontology metadata. PURL: https://www.purl.org/ontologymetadata/DummyOntoPASSES."@en ;
pav:derivedFrom <http://www.purl.org/SomeOtherOntology/0.0.1> ;
<http://purl.obolibrary.org/obo/IAO_0000700> <https://www.purl.org/ontologymetadata/DummyOntoPASSES#1> ;
obo:IAO_0000700 <https://www.purl.org/ontologymetadata/DummyOntoPASSES#1> ;


#Optional metadata
dcterms:abstract "The ontology is about...."@en ;
dcterms:alternative "An alternative title of the ontology,e.g. a working title for the ontology draft."@en ;
idot:alternatePrefix "dop01" ;
owl:priorVersion <https://www.purl.org/ontologymetadata/DummyOntoPASSES/0.0> ;
schema:version <https://www.purl.org/ontologymetadata/DummyOntoPASSES/0.3> ;
sdo:version <https://www.purl.org/ontologymetadata/DummyOntoPASSES/0.3> ;
owl:backwardCompatibleWith <https://www.purl.org/ontologymetadata/DummyOntoPASSES/0.0> ;
owl:incompatibleWith <https://www.purl.org/ontologymetadata/DummyOntoPASSES/0.3> ;
<http://xmlns.com/foaf/0.1/holdsAccount> <https://ontology.social/@DummyOntoPASSES>;
foaf:holdsAccount <https://ontology.social/@DummyOntoPASSES>;
dcterms:type <http://w3id.org/nkos/nkostype#ontology> ;
<http://identifiers.org/exampleIdentifier> <https://www.purl.org/ontologymetadata/DummyOntoPASSES#1> ;
<http://identifiers.org/idot/identifierPattern> "[0-9]+" ;
dcterms:format <https://www.iana.org/assignments/media-types/application/rdf+xml> ;
<http://xmlns.com/foaf/0.1/homepage> <https://purl.org/OntoMeta/home> ;
idot:identifierPattern "[0-9]+" ;
foaf:homepage <https://purl.org/OntoMeta/home> ;
dcterms:publisher <https://isni.org/isni/0000000121746694>, <https://d-nb.info/gnd/1080328793> ;
rdfs:comment "Some remark about the ontology."@en ;
<http://rdfs.org/ns/void#exampleResource> <https://www.purl.org/ontologymetadata/DummyOntoPASSES#1> ;
<http://usefulinc.com/ns/doap#mailing-list> <mailto://mail@example.com>;
<http://xmlns.com/foaf/0.1/logo> <https://www.purl.org/ontologymetadata/DummyOntoPASSES/docs/logo.png> ;
<http://purl.org/ontology/bibo/doi> <http://doi.org/10.000000/example>;
<http://purl.org/pav/createdWith> "Visual Studio Code"@en;
<https://w3id.org/mod#hasEquivalencesWith> <https://www.purl.org/ontologymetadata/DummyOntoFAILS>;
void:exampleResource <https://www.purl.org/ontologymetadata/DummyOntoPASSES#1> ;
doap:mailing-list <mailto://mail@example.com>;
foaf:logo <https://www.purl.org/ontologymetadata/DummyOntoPASSES/docs/logo.png> ;
bibo:doi <http://doi.org/10.000000/example>;
pav:createdWith "Visual Studio Code"@en;
mod:hasEquivalencesWith <https://www.purl.org/ontologymetadata/DummyOntoFAILS>;
<https://w3id.org/sssom/mapping_set_references> [sssom:mapping_set_id <https://www.purl.org/ontologymetadata/DummyOntoPASSES2DummyOntoFAILS> ;] ;
<https://w3id.org/mod#competencyQuestion> <ttp://www.purl.org/OntoMeta/DummyOntoPASSES/docs/CompetencyQuestions#1> ;
<http://omv.ontoware.org/2005/05/ontology#usedOntologyEngineeringMethodology> "name of an ontology engineering methodology or description of the applied ontology"@en ;
mod:competencyQuestion <ttp://www.purl.org/OntoMeta/DummyOntoPASSES/docs/CompetencyQuestions#1> ;
omv:usedOntologyEngineeringMethodology "name of an ontology engineering methodology or description of the applied ontology"@en ;
vann:preferredNamespaceUri <https://www.purl.org/ontologymetadata/DummyOntoPASSES> ;

# not yet categorized
Expand Down
Loading

0 comments on commit 0e9fc1d

Please sign in to comment.