...
dspace-rdf is an extension for DSpace that adds capabilities to convert contents stored in DSpace into RDF, to store the converted data in a Triple Store and to provide it as serializations of RDF. The Triple Store must support SPARQL 1.1 and can be used to provide the converted data over a read-only SPARQL endpoint. dspace-rdf can currently be found on my github repositoriy, but I would be glad to contribute it to a future version of DSpace.
dspace-rdf contains several parts. You can see a simplified class diagramm here:
The classes RDFConsumer and RDFUtil integrates dspace-rdf into DSpace. RDFConfiguration is used to centralize configuration properties that are use by more than one class. The class RDFizer contains the command line interface. To see the online help you have to use the following command:
Code Block | ||
---|---|---|
| ||
[dspace-install]/bin/dspace dsrun org.dspace.rdf.RDFizer --help |
The online help should give you all necessary information.
The package org.dspace.rdf.storage contains the classes to attach the Triple Store to the repository. The URIGenerator is an interface used to create URIs that are used to identify the repository resources in RDF. In the configuration (see below) you can define which class should be used. In cause of
Jira | ||||||||
---|---|---|---|---|---|---|---|---|
|
The package org.dspace.rdf.conversion contains the classes used to convert the repository's content to RDF. The conversion itself is done by plugins. The Interface org.dspace.rdf.conversion.ConverterPlugin is really simple, so take a look if you want to extend the conversion. The MetadataConverterPlugins is heavily configurable (see below) and is used to convert metadata of Items. The StaticDSOConverterPlugin can be used to add static RDF Triple (see below). The DSORelationsConverterPlugin is not configurable yet. It is just a proof of concept and its revision is on the TODO list below.
The package org.dspace.rdf.providing contains the servlet to provide the converted data as serialized RDF. In the last days I added a second servlet, which is not part of the image yet. The
Installation and Configuration
...