Skip to content

[deprecated] Instructions for the catalog's administrators

Pedro Paulo Favato Barcelos edited this page Nov 8, 2023 · 2 revisions

Instructions for the catalog’s Administrators

General instructions

The catalog master branch cannot have incomplete data at any moment. So every modification that has an impact on it must be done in specific branches and can only be uploaded to the master branch with the generation of the derived data.

How to generate the ttl files?

Descriptions

A catalog’s administrator is responsible for the generation of the ttl files that compose the catalog from the files received from a collaborator. These files are:

  • ontology.ttl: generated from the ontology.json file
  • metadata.ttl: generated from the metadata.yaml file
  • catalog.ttl: generated aggregating information from the ontology.ttl files from all datasets of the catalog.
  • catalog-metadata.ttl: generated aggregating information from the metadata.ttl files from all datasets of the catalog.

For their generation, please proceed with the instructions provided below.

Instructions

Clone the repositories ontouml-models and ontouml-js into the same folder. I.e., the folder’s structure must be:

My_folder/
+---ontouml-js/
+---ontouml-models/

At the ontouml-js folder, check-out the ontouml2owl-batch branch. At a terminal, execute the following command line for running instructions for all datasets in the catalog.

npm run test 

Note that you must have node-js installed for executing the command above. If you are having problems with dependencies, try:

npm install --save-dev @babel/plugin-transform-runtime --legacy-peer-deps

Tools for ensuring the catalog quality

The ontouml-models-tools was created with the intention to provide different tools for improving the quality of the catalog. Please access it for more information about its usage and features.