Skip to content

Latest commit

 

History

History

CERIF-Publishing

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

CERIF Publishing

The CERIF Publishing tool is used to produce documentation about:

  • the CERIF data model
  • the semantic vocabularies

The documentation produced by this tool is published on the euroCRIS website.

Objective

The objective of this tool it to produce:

  • an RDF description of the CERIF data model
  • an HTML human readable version of each XML CERIF semantic vocabulary
  • an RDF description of each XML CERIF semantic vocabulary
  • a ready-to-deploy structure to be published on the euroCRIS website

Procedure

Set up

  1. Install Apache Maven.
  2. Check out the following three projects in your workspace: CERIF-DataModel, CERIF-Vocabularies and CERIF-TG-Tools (this project). Get the right branch combination.
  3. Open a console on your computer.
  4. Navigate to the directory with this README.md file:
cd ~/workspace/CERIF-TG-Tools/CERIF-Publishing

Validate the vocabularies

The XML semantic vocabularies are validated using the XML Schema.

To run the validation task only:

  1. Get set-up
  2. run the following command:
mvn clean process-sources

Build the documentation

To build the documentation:

  1. Get set-up
  2. run the following command:
mvn clean compile

This:

  • validates the CERIF vocabularies
  • transforms the CERIF data model into RDF, storing the result as target/CERIF.rdf
  • transforms the CERIF vocabularies into RDF, storing the result into the target/vocab/rdf directory
  • transforms the CERIF vocabularies into HTML, storing the result into target/vocab/html directory
  • copies the CERIF vocabularies in XML into the target/vocab/xml directory

The Contents of this Sub-Project

Stylesheet for human readable files (HTML)

The CERIF Publishing tool contains the source files to build the CSS stylesheet used by the vocabularies when displayed in HTML format.

The source uses the Bulma CSS framework and is written using the SCSS syntax.

XSLTransformation stylesheets

The source CERIF artifacts are expressed in XML.

The CERIF Publishing tool hosts the XSLTransformation stylesheets used to produce files from these sources.