diff --git a/README.md b/README.md index 266c468..67abaa0 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/examples/examplesVersionDependency.ttl b/examples/examplesVersionDependency.ttl index 860687c..d7c2221 100644 --- a/examples/examplesVersionDependency.ttl +++ b/examples/examplesVersionDependency.ttl @@ -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 @@ -13,8 +13,8 @@ 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 ; @@ -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 ; diff --git a/versioning.ttl b/versioning.ttl index a6d6760..97a353e 100644 --- a/versioning.ttl +++ b/versioning.ttl @@ -1,4 +1,4 @@ -# imports: https://w3id.org/semanticarts/ontology/operators +# imports: https://w3id.org/semanticarts/ontology/operators1.0.0 @prefix ops: . @prefix owl: . @@ -11,10 +11,11 @@ a owl:Ontology ; - owl:imports ; + owl:imports ; owl:versionIRI ; 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 ;