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:
spar.py) whose pages are in spar/ and whose static files are in static/. The descriptions, examples, publications and news of each ontology are in the spar/ontology_* directories;mediatype/;validation.yml, which runs the ontology tests in scripts/test_ontology.py, and lode.yml, which generates the documentation and the serialisations of an ontology with LODE 2.0;Dockerfile and docs/k8s.yaml.To run the website locally, on port 8080:
uv sync
uv run gunicorn -c gunicorn.conf.py spar:application