Activate and Enable Plugins

Activate/deactivate plugins

GraphDB plugins can be in active or inactive state. This means attaching and detaching them to/from GraphDB on a fundamental level.

From the Workbench

For most of the plugins, this can be done from the Workbench in Setup ‣ Plugins. By default, all plugins available there are activated.

_images/workbench-plugins.png

Note

The Provenance plugin needs to be registered first in order to be activated. Once registered, it will appear in the list.

If you deactivate a plugin, you will not be able to enable it. For example:

  1. In Setup ‣ Plugins, deactivate Autocomplete.

  2. If you go to Setup ‣ Autocomplete, you will get the following error message:

_images/autocomplete-inactive.png

With a SPARQL query

To activate a plugin with a query from the SPARQL editor, run:

INSERT DATA { <u:a> <http://www.ontotext.com/owlim/system#startplugin> "plugin-name".}

To deactivate it:

INSERT DATA { <u:a> <http://www.ontotext.com/owlim/system#stopplugin> "plugin-name".}

Note

Spell out the plugin names the way they are displayed in the Workbench page shown above.

List plugins and their state

To get a list of all plugins and their current state (active/inactive), run:

SELECT ?plugin ?state  { ?plugin <http://www.ontotext.com/owlim/system#listplugins> ?state .}

Enable/disable plugins

Some of the plugins also have an enabled and disabled state, provided that they have been activated before that. These include:

Autocomplete index

The index can be enabled both from Setup ‣ Autocomplete in the Workbench and with a SPARQL query.

Change tracking

You can enable change tracking for a certain transaction ID. See how to do it here.

Data history & versioning

See how to enable the plugin here.

GeoSPARQL support

See how to enable the plugin here.

RDF Rank

This refers to the RDF Rank filtered mode when you want to calculate the rank only of certain entities. See how to do it here.