MARC/MODS RDFizer

This is an utility tool to convert MARC records (both in MARCXML and ISO 2709/Z39.2 syntax) to a MODS representation and then from MODS to RDF.

How do I use it?

You launch the RDfizer from the command line by giving it a file that contains the aggregated records and a folder where to dump the resulting data.

But before you run it, you have to get the source code and build it (don't worry, it's easy and works on all platforms with freely available tools).

How do I get the source code?

You need a Subversion client. Type svn in your shell and see if you have one already installed. If not, go to the Subversion web site and get one.

Then type

 svn co http://simile.mit.edu/repository/RDFizers/marcmods2rdf/

the source code will be fetched and downloaded to the ./marcmods2rdf directory.

How do I build it?

This RDFizer requires two things for you to build it:

  1. a Java Virtual Machine installed on your machine (version 1.4 or greater). Type 'java -version' at your shell prompt to know what version you have. If you don't have it, go to http://www.java.com and download it.
  2. Apache Maven installed (version 2.0 or greater). Type 'mvn -version' at your shell prompt to know what version you have. If maven is not installed, go to http://maven.apache.org/ and download it. Don't panic, the installation is really fast and simple.

NOTE: Maven will download the required libraries when you build the software, so make sure that you're connected to the internet when you build the software. You can be offline to run it later on, though.

Once you're set (and you have the maven command 'mvn' in your path), go to your command shell and type:

 mvn package

this will download the required libraries, compile, package and prepare the copy the required dependencies in the ./target directory.

That wasn't that painful, wasn't it?

Now you are ready to launch it, and you can do it by typing

(unix)  ./marcmods2rdf.sh [folder]
(win32) .\marcmods2rdf.bat [folder]

at the command line and follow the instructions there.

Credits

This software was created and is maintained by the Simile Project and in particular: