Skip to content
A set of Ruby scripts for taking MARC21 records and remodeling them in RDF
Ruby
Find file
Pull request Compare This branch is 1 commit ahead, 2 commits behind rsinger:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
README
example.ttl
lcsh_labels.rb
marcmodeler.rb
ntriple_parser.rb
rdf_resource.rb
relation.yml
visual.ttl

README

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 &

Something went wrong with that request. Please try again.