ternaustralia / ontology_tern

TERN Ontology
https://linkeddata.tern.org.au/viewers/tern-ontology
Creative Commons Attribution 4.0 International
6 stars 4 forks source link
linked-data ontology owl rdf semantic-web shacl

TERN Ontology

The TERN Ontology is an OWL Ontology with SHACL profiles to facilitate the representation of ecological site-based survey and opportunistic observation data. The TERN Ontology is used as a common information model to represent and facilitate the sharing of survey data across different systems.

View classes: https://linkeddata.tern.org.au/viewers/tern-ontology
Online documentation: https://linkeddata.tern.org.au/information-models/tern-ontology
Specification document: https://ternaustralia.github.io/ontology_tern

Releases

The TERN Ontology makes GitHub Releases for each version. See TERN Ontology releases for a list of releases.

Source files

Source files are maintained as RDF Turtle files, and they are located in the docs/ directory as files ending in .ttl.

Only edit the source files in TopBraid Composer.

Source files:

Version control

The main branch (master) is the working branch of the TERN Ontology. Changes must be made in another branch, along with a GitHub pull request to merge into the main branch.

Each push to a branch will trigger GitHub Actions to run validations and tests. These validations and tests must pass before merging the branch into the main branch.

Editing the TERN Ontology

We use ontotools, a Python command line application to normalise the source files.

Ensure the following instructions are performed whenever edits are made to the source files before committing to git.

Create a Python 3 virtual environment

python3 -m venv venv

Activate the virtual environment

source venv/bin/activate

Install the required packages

pip install -r requirements.txt

Run ontotools to normalize the source file for TERN Ontology

This will normalize the tern.ttl file.

ontotools file normalize docs/tern.ttl

Run ontotools to normalize the source file for TERN Ontology TERN Ontology SHACL shapes

This will normalize the tern.shacl.ttl file.

ontotools file normalize docs/tern.shacl.ttl

Making modifications

Each version should:

License

The contents of this repository is made available for use under the Creative Common Attribution 4.0 International (CC BY 4.0). See the LICENSE file for the deed.

Contact

TERN Support
esupport@tern.org.au