OWLIM-Lite Administrative Tasks

Skip to end of metadata
Go to start of metadata
Search
This documentation is NOT for the latest version of GraphDB.

Latest version - GraphDB 7.1

OWLIM Documentation

Next versions

OWLIM 4.1
OWLIM 4.2
OWLIM 4.3
OWLIM 4.4
OWLIM 5.0
OWLIM 5.1
OWLIM 5.2
OWLIM 5.3
OWLIM 5.4

GraphDB 6.0 & 6.1
GraphDB 6.2
GraphDB 6.3
GraphDB 6.4
GraphDB 6.5
GraphDB 6.6
GraphDB 7.0
GraphDB 7.1

This section contains information about performing day to day administration tasks with a OWLIM-Lite repository. Most of these standard operations can be achieved using the Sesame software. Some information is repeated here and tailored to the specifics of OWLIM-Lite.

Preserving Context when Exporting and Importing Data

In order to preserve the context across export/import a context-aware RDF file format must be used, e.g. TriG. After serialising the repository to a file with this format (this can be done through the Sesame workbench Web application) the file can be imported with the following steps:

  • Go to [Add]
  • Choose Data format: TriG
  • Choose RDF Data File: e.g. export.trig
  • Clear the context text field (it will have been set to the URL of the file). If this is not cleared then all the imported RDF statements will be given a context of <file://export.trig> or similar.
  • Upload

The TriX format (an XML-based context-aware RDF serialisation) can also be used.

Backing up and restoring the repository

There is no facility at present to back up a repository while it is running. Therefore, to backup a repository it must be shutdown gracefully and a copy of its storage directory (and any sub-directories) taken.
If the Sesame RepositoryManager class is being used, the repository directory will usually be in a directory path that ends with .../repositories/<repository_id>/owlim-storage}, but this can be overridden with the {{storage-folder configuration parameter.
To restore a repository from a back up, make sure the repository is not running and then replace the entire contents of the storage directory (and any sub-directories) with the backup. Then restart the repository and check the log file to ensure a successful start up.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.