Skip to content

A set of Ruby scripts for taking MARC21 records and remodeling them in RDF

Notifications You must be signed in to change notification settings

bensinober/marc2rdf-modeler

 
 

Repository files navigation

MARC2RDF Modeler is a set of scripts intended to help provide an easily hackable and modifiable way to take MARC21 bibliographic records and model them as RDF/XML.  

Requirements:
  * enhanced_marc (http://github.com/rsinger/enhanced-marc/tree)
  * datamapper (for LCSH linking)
  * sqlite

INSTALL 
Ubuntu prerequisites:

sudo apt-get install sqlite3 libsqlite3-ruby libsqlite3-dev

Gems prerequisites:

sudo gem install enhanced_marc dm-migrations isbn-tools datamapper builder curies dm-sqlite-adapter


USAGE
ruby marcmodeler.rb [inputfile.mrc] [outputfile.rdf]

# run process fork and catch time
( time ./ruby marcmodeler.rb )  2> tid.txt &

About

A set of Ruby scripts for taking MARC21 records and remodeling them in RDF

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%