Skip to content

Commit

Permalink
Tweat README file. Import versionIRI for operators ontology. Moved ex…
Browse files Browse the repository at this point in the history
…ample annotation.
  • Loading branch information
uscholdm committed Oct 12, 2023
1 parent c109797 commit 124e19c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ This ontology represents generic concepts for doing semantic versioning and depe
1. the version of a disease ontology being at least 3.1.0 and less than 4.0.0.
2. the version of gist core being between at least 12.1.0 and less than 13.0.0.

The need for such specifying such dependencies arises when ontologies use terms from imported ontologies.
The need for specifying such dependencies arises when ontologies use terms from imported ontologies.

Three SPARQL queries are provided of perform the following tasks:
Three SPARQL queries are provided to perform the following tasks:
1. Find all versioned artifacts and their dependencies.
2. Find all cases where a version dependency requirement is not met. Return result in English.
3. Find all cases where a version dependency requirement is not met. Return result as a SHACL report.
5 changes: 2 additions & 3 deletions examples/examplesVersionDependency.ttl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# imports: https://ontologies.exco.com/exeoDiseases
# imports: https://w3id.org/semanticarts/ontology/gistCore12.1.0
# imports: https://w3id.org/semanticarts/ontology/gistCore
# imports: https://w3id.org/semanticarts/ontology/operators
# imports: https://w3id.org/semanticarts/ontology/versioning

Expand All @@ -13,8 +13,8 @@

<https://ontologies.exco.com/exeoDiseases>
a owl:Ontology ;
skos:scopeNote "The version of this ontology does not meet the dependency requirement."^^xsd:string ;
skos:prefLabel "Diseases"^^xsd:string ;
skos:scopeNote "The version of this ontology does not meet the dependency requirement."^^xsd:string ;
ver:hasVersionNumber [
a ver:SemanticVersionNumber ;
ver:uniqueText "3.0.2"^^xsd:string ;
Expand All @@ -31,7 +31,6 @@
;
skos:definition "A hierarchy of diseases."^^xsd:string ;
skos:prefLabel "Disease Taxonomy"^^xsd:string ;
skos:scopeNote "The semantic version number for the disease taxonomy is 6.3.0. This version depends on the version of the imported disease ontology being at least 3.1.0 and less than 4.0.0. It also depends on the version of gist core being at least 12.1.0 and less than 13.0.0."^^xsd:string ;
ver:dependsOn
[
a ver:VersionRangeSpec ;
Expand Down
7 changes: 4 additions & 3 deletions versioning.ttl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# imports: https://w3id.org/semanticarts/ontology/operators
# imports: https://w3id.org/semanticarts/ontology/operators1.0.0

@prefix ops: <https://w3id.org/semanticarts/ns/ontology/operators/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
Expand All @@ -11,10 +11,11 @@

<https://w3id.org/semanticarts/ontology/versioning>
a owl:Ontology ;
owl:imports <https://w3id.org/semanticarts/ontology/operators> ;
owl:imports <https://w3id.org/semanticarts/ontology/operators1.0.0> ;
owl:versionIRI <https://w3id.org/semanticarts/ontology/versioningX.x.x> ;
skos:definition "Generic concepts for semantic versioning of a suite of artifacts for semantic systems in production."^^xsd:string ;
skos:editorialNote "Although this was originally intended for semantic version numbers, the ontology could be tweaked in a very small way to use different version numbers, so long as they are ordered."^^xsd:string ;
skos:editorialNote "Although this was originally intended for semantic version numbers, the ontology could be tweaked in a very small way to use different version numbers, so long as they are ordered."^^xsd:string ;
skos:example "The semantic version number for the disease taxonomy is 6.3.0. This version depends on the version of the imported disease ontology being at least 3.1.0 and less than 4.0.0. It also depends on the version of gist core being at least 12.1.0 and less than 13.0.0."^^xsd:string ;
skos:prefLabel "Semantic Versioning Ontology"^^xsd:string ;
ver:hasVersionNumber [
a ver:SemanticVersionNumber ;
Expand Down

0 comments on commit 124e19c

Please sign in to comment.