Appendix B. Export to RDF format

[Note]Note

This appendix describes configuration files used for exporting bibliographic description to RDF format. It is dedicated to dLibra administrators.

RDF - Resource Description Framework is a format for specifying properties of a given subject. RDF format is used in dLibra to specify metadata (bibliographic description). In this case the subject is an element (e.g. publication) and the properties are specified as attributes' values. More about RDF format can be found here.

B.1. RDF export configuration file

There is one RDF format configuration file:

  • systemurl.properties - this file should contains an URL which specified the namespace for exported attribtue values

This file is a properties file, so in each line there is a key and its value separated by the equals character (=), e.g.

property=value

Configuration file should contain one line which specifies an URL defining the namespace for attribute values. The key which identifies this URL is systemURL, for example:

systemURL=http://dlibra.psnc.pl/

The URL is usually WWW address of specific digital library. Exported file may look as follows:

<?xml version="1.0"?>
<rdf:RDF
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:dlibra_avs="http://dlibra.psnc.pl/">
  <rdf:Description rdf:about="http://dlibra.psnc.pl/publication/376">
    <dlibra_avs:Title xml:lang="pl">Przykładowa publikacja</dlibra_avs:Title>
    <dlibra_avs:Author xml:lang="pl">Jan Kowalski</dlibra_avs:Author>
    <dlibra_avs:Format xml:lang="en">text/plain</dlibra_avs:Format>
    <dlibra_avs:Format xml:lang="pl">text/plain</dlibra_avs:Format>
  </rdf:Description>
</rdf:RDF>

Default systemurl.properties file contains the following entry:

systemURL=http://www.dlibra.psnc.pl