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.
Profile 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 profile repositories.
To create a new profile repository for the ontology with short name Foo, we suggest:
- Clone the upstream example repository:
git clone https://github.com/casework/CASE-Profile-Example.git CASE-Profile-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 submodule pointer to the UCO profile for the external ontology. The example given is that
CASE-Profile-Example's profile ontologyowl:importsUCO-Profile-Example's profile ontology for the Example Ontology, with the UCO profile file tracked by Git submodule. - 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 ontology file under
/ontology, and updating its contents. - Renaming the shapes file under
/shapes, and updating its contents. If the profile does not require shapes, the directoryshapescan be removed. - Updating the exemplars file under
/teststo use all classes mapped in the profile ontology. - After all of the above edits are completed, running
make checkfrom the top source directory should confirm Turtle files are normalized and unit tests pass.
- Push the updated profile to a new repository.