summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--schema/baserock-example.schema21
1 files changed, 14 insertions, 7 deletions
diff --git a/schema/baserock-example.schema b/schema/baserock-example.schema
index 1fcd4834..a9e97851 100644
--- a/schema/baserock-example.schema
+++ b/schema/baserock-example.schema
@@ -35,7 +35,8 @@
#
# (owLint is a tool written in Scala, it is likely not packaged for your
# distro, but if you install Scala and the `sbt` build tool, you can build
-# and run it from sources at https://github.com/Samangan/owLint).
+# and run it from sources at <https://github.com/Samangan/owLint>. The schema
+# has various issues according to owLint which I haven't figured out.)
#
# Edit with Protégé:
# just open it in protege, it can save to Turtle format as well but will lose
@@ -88,19 +89,23 @@
:Cluster a owl:Class ;
rdfs:subClassOf :Morphology ;
- rdfs:comment "Instructions for deploying one or systems." .
+ rdfs:comment "Instructions for deploying one or systems." ;
+ owl:disjointWith :System, :Stratum, :Chunk .
:System a owl:Class ;
rdfs:subClassOf :Morphology ;
- rdfs:comment "A collection of strata in a form that can be executed." .
+ rdfs:comment "A collection of strata in a form that can be executed." ;
+ owl:disjointWith :Cluster, :Stratum, :Chunk .
:Stratum a owl:Class ;
rdfs:subClassOf :Morphology ;
- rdfs:comment "A set of related chunks." .
+ rdfs:comment "A set of related chunks." ;
+ owl:disjointWith :Cluster, :System, :Chunk .
:Chunk a owl:Class ;
rdfs:subClassOf :Morphology ;
- rdfs:comment "An individual component, that can be built from a Git repository." .
+ rdfs:comment "An individual component, that can be built from a Git repository." ;
+ owl:disjointWith :Cluster, :System, :Stratum .
# Container contents
@@ -117,11 +122,13 @@
:StratumArtifact a owl:Class ;
rdfs:subClassOf :Artifact ;
- rdfs:comment "Part of the result of building a stratum." .
+ rdfs:comment "Part of the result of building a stratum." ;
+ owl:disjointWith :ChunkArtifact.
:ChunkArtifact a owl:Class ;
rdfs:subClassOf :Artifact ;
- rdfs:comment "Part of the result of building a chunk." .
+ rdfs:comment "Part of the result of building a chunk." ;
+ owl:disjointWith :StratumArtifact.
## Shared properties