Converter from UNIMARC/INTERMARC to RDF using the DOREMUS model
MARC2RDF is based on the DOREMUS model that allows a detailed description of a musical work and the events associated with it (creation, execution, etc.). It takes as input INTERMARC-XML and UNIMARC-XML files and generates as output RDF triples. A display in MARC (MAchine Readable Cataloging) format is an option of our prototype to view an INTERMARC-XML or an UNIMARC-XML file in MARC format.
The MARCXML format, developed by the Library of Congress in 2001, consists to structure data to MARC in an XML environment. It was founded initially on the MARC21 format, and then it was extended by applying ISO 25577 (MarcXchange), other variants of the MARC (whose INTERMARCXML format used by BNF).
The figure, below, illustrates an example an INTERMARC-XML file:
Its display in INTERMARC format:
And its conversion in RDF triples:
This tool consists of 4 components:
The class Converter is the “main” class to start converting MARCXML records in RDF triples.
config.properties
file as you need.gradle run
in the project folder.The application logs by default in a log.txt
file in the root of the project. If required, change the filesrc/main/resources/tinylog.properties
, according to this documentation.
gradle run ## start conversion of files
gradle run -Pmarc ## start conversion of files, with marc as output
gradle schemagen ## align ontology package to ontologies in `doremus-ontology` github project
Virtuoso 7.2.1 (http://www.openlinksw.com)