This repository follows CDO "Continuous-release" branching. In short:
- Please file Pull Requests against
main
. - If you wish to track this repository at a certain version, please use Git submodules to note what version you tracked.
Feedback is welcome, especially with accompanying examples, whether in worked-through RDF or as English narrative.
Shape repositories are started with an in-common Git history, rather than relying on GitHub-specific functions like templating and repository-forking. The reason for this is to assist with propagating changes seen necessary across all of the shape repositories.
To create a new shapes repository for the ontology with short name Foo
, we suggest:
- Clone the upstream example repository:
git clone https://github.com/Cyber-Domain-Ontology/CDO-Shapes-Example.git CDO-Shapes-Foo
. - Substitute all references to the "example" ontology with the desired ontology. Generally, this is handled by:
- Update the README to change the name of the repository. (Minimally, the title line should be revised.)
- Addressing the "TODOs" in
dependencies/Makefile
- Updating the TSV files under
etc/
. This is to support local-file editing with some ontology tooling (developed for UCO Issue 449). These lines describe the file formats. - Renaming the shapes file under
/shapes
, and updating its contents. - Updating the exemplars file under
/tests
to use all classes and properties reviewed in the shapes graph. - After all of the above edits are completed, running
make check
from the top source directory should confirm Turtle files are normalized and unit tests pass.
- Push the updated profile to a new repository.