The Semantic Publishing and Referencing Ontologies, a.k.a. SPAR Ontologies, form a suite of orthogonal and complementary OWL 2 DL ontology modules for the creation of comprehensive machine-readable RDF metadata for every aspect of semantic publishing and referencing: document description, bibliographic resource identifiers, types of citations and related contexts, bibliographic references, document parts and status, agents' roles and contributions, bibliometric data and workflow processes.
Each ontology is developed in its own repository of the SPAR Ontologies GitHub organisation, and is identified by an IRI of the form http://purl.org/spar/<lowercase ontology acronym>.
This repository contains:
- the source of the SPAR Ontologies website, a web.py application (
spar.py) whose pages are inspar/and whose static files are instatic/. The descriptions, examples, publications and news of each ontology are in thespar/ontology_*directories; - the media type descriptions served at https://w3id.org/spar/mediatype/, in
mediatype/; - the reusable GitHub Actions workflows called by the ontology repositories:
validation.yml, which runs the ontology tests inscripts/test_ontology.py, andlode.yml, which generates the documentation and the serialisations of an ontology with LODE 2.0; - the files to build and deploy the website, i.e. the
Dockerfileanddocs/k8s.yaml.
To run the website locally, on port 8080:
uv sync
uv run gunicorn -c gunicorn.conf.py spar:application
- Contributing guidelines: how to change an existing ontology, how to propose a new one, and the participation, documentation, GitHub and website guidelines.
- Support: where to ask questions.
- Code of conduct.
- Ontologies, examples, publications and uptake of the SPAR Ontologies, on the website.
- About and contacts.