R2RML mappings for the MusicBrainz schema
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
mappings Fixed a number of subject mappings Nov 7, 2015
README.md Update README.md Jun 13, 2013
dump-all.sh Improved the scripts Nov 8, 2015
dump.sh Improved the scripts Nov 8, 2015
musicbrainz_compile_config.properties Added lyrics to work and missing area mappings Aug 24, 2015

README.md

MusicBrainz-R2RML

R2RML mappings for the MusicBrainz schema on an entity-by-entity basis.

These can be run on the MusicBrainz server using ultrawrap, for which a script is provided (dump.sh). (You must set an environment variable ULTRAWRAP_HOME)

Running musicbrainz-r2rml/dump.sh entity (where entity is artist, track, etc.) runs the appropriate set of mappings e.g. mappings/artist.ttl to produce output in the form of NTriples e.g. output/artist.nt

A virtual machine is available (for use with VirtualBox, VMware, etc.) with a replicated MusicBrainz database.

Note that the file musicbrainz_compile_config.properties must reflect your DB name:

  • musicbrainz_db is the default for a snapshot
  • musicbrainz_db_slave is the default for a replicated database