Note

This chapter is about the configuration files used when exporting metadata from a dLibra digital library to the RDF format. It is for dLibra system administrators.

RDF (Resource Description Framework) is a format which makes it possible to specify the values of certain properties of a described entity. The RDF format is used in the dLibra system for specifying publication metadata. In this case, the entity is a publication, properties are attributes, and property values are attribute values.

The Configuration File of RDF Export

There is one file which configures export to the RDF format:

  • systemurl.properties That file should contain the URL which will define the namespace in the exported file.

It is a property file, so it has a property name (also called a key) and its value in one line, separated with the equal sign (=), for example:
wlasnosc=wartosc
The file should only contain one line specifying the URL which defines the namespace in the metadata file. The key which identifies that URL is systemURL, for example:
systemURL=http://dlibra.psnc.pl/
The URL is usually the website address of the given digital library. The exported file will look as follows (we omit values – the point is to show the position of the value of the systemURL key):

<?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>

In the default systemurl.properties file, there is the following entry:
systemURL=http://www.dlibra.psnc.pl

  • No labels