Carsten Klee
collidoscope.de
easyM2R
easily convert MARC to RDF
Carsten Klee
collidoscope.de
MARC to RDF Tool?
• must be very easy to install, configure and
use
• flexible and powerful
Carsten Klee
collidoscope.de
wrote my own
• called easyM2R
• lives at https://github.com/cKlee/easyM2R
• written in PHP
• based on FILE_MARC, JsonLD processor and
easyRDF
• beta still being tested
Carsten Klee
collidoscope.de
Features
1. get PHP 5.3.X
2. clone recursively
3. installation done!
Carsten Klee
collidoscope.de
Features
• easy configuration in a human readable
JSON-LD document
Carsten Klee
collidoscope.de
Features
• reads MARC or MARCXML from file or string
Carsten Klee
collidoscope.de
Features
• output in various serializations/formats
– jsonld, json, php, ntriples, turtle, rdfxml, dot, n3,
png, gif, svg
Carsten Klee
collidoscope.de
Usage
• via the command line
• in a PHP script
Carsten Klee
collidoscope.de
Usage
• use default callback functions or extend
easyM2R through your own.
marc2rdf:callback_template(260_a,260_b,260_c,$0%20%3A%20$1%2C%20$2)
could lead to
Detmold : Kreis Lippe, Der Landrat
$0 : $1, $2
Carsten Klee
collidoscope.de
fork me on GitHub
https://github.com/cKlee/easyM2R

easyM2R