Repository of the Audio Commons Ontology (https://w3id.org/ac-ontology/aco).
The Audio Commons Ontology provides main concepts and properties for describing audio content, both musical and non-musical, on the Semantic Web.
It is developed in the context of the European project Audio Commons.
Refer to https://w3id.org/ac-ontology/aco for documentation and downloading the ontology.
The ontology source code is split among a set of JSON-LD files in YAML format:
- src/ac-ontology.jsonld.yaml - main concepts;
- src/ac-ontology-collection.jsonld.yaml - formalisation of AudioCollection;
- src/ac-ontology-events.jsonld.yaml - concepts related to events in music recording/generation/production;
- src/ac-ontology-shortcuts-fileToSignal.jsonld.yaml - some shortcuts.
They all share the same in context, defined in src/ac-ontology-context.jsonld.yaml
The HTML documentation is generated through the EJS template src/ontology.ejs.
To regenerate the HTML documentation and ontology serialisations execute the following command.
node lib/dist.js
It regenerates the following files:
- aco.html - ontology documentation webpage (HTML);
- aco.ttl - ontology in Turtle;
- aco.jsonld - ontology in JSON-LD;
- aco.nt - ontology as N-Triples;
- aco.rdf - ontology as RDF/XML;
- aco.owl - ontology as RDF/XML (as above, just different file extension).
The content of https://w3id.org/ac-ontology/aco is served by GitHub Pages directly from this repo.
So to deploy, just push changes to this repo (including the regenerated files).