Using plugins

Multiple GraphDB features are implemented as plugins based on the GraphDB Plugin API. As they vary in functionality, you can find them under the respective sections in the GraphDB documentation.



Semantic similarity searches

Exploring and searching semantic similarity in RDF resources.

Ranking entities by interconnectedness with the RDF Rank Plugin

An algorithm that identifies the more important or more popular entities in the repository by examining their interconnectedness.

JavaScript functions

Defining and executing JavaScript code, further enhancing data manipulation with SPARQL.

Change tracking

Tracking changes within the context of a transaction identified by a unique ID.

Query time inference with the Provenance plugin

Generation of inference closure from a specific named graph at query time.

Checking inference derivation with the Proof plugin

Finding out how a given statement has been derived by the inferencer.

Graph path search

Exploring complex relationships between resources.

Several of the plugins enable you to create and access user-defined indexes. They are created with SPARQL, and differ from the system indexes in that they can be configured dynamically at runtime. Any user with write access to a given repository can define such an index.

These are:



Autocomplete index

Suggestions for the IRIs` local names in the SPARQL editor and the View Resource page.

GeoSPARQL support

GeoSPARQL is a standard for representing and querying geospatial linked data for the Semantic Web from the Open Geospatial Consortium (OGC). The plugin allows the conversion of Well-Known Text from different coordinate reference systems (CRS) into the CRS84 format, which is the default CRS according to the OGC.

Geospatial extensions

Support of 2-dimensional geospatial data that uses the WGS84 Geo Positioning RDF vocabulary (World Geodetic System 1984).

Data history and versioning

Accessing past states of your database through versioning of the RDF data model level.

Text mining plugin

Calling of text mining algorithms and generation of new relationships between entities.

Generating sequential IDs with the Sequences plugin

Providing transactional sequences for GraphDB. A sequence is a long counter that can be atomically incremented in a transaction to provide incremental IDs.

The GraphDB Connectors are such indexes as well.

Activate or 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.



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:


With a SPARQL query

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

INSERT DATA { <u:a> <> "plugin-name".}

To deactivate it:

INSERT DATA { <u:a> <> "plugin-name".}


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 <> ?state .}

Enable or 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 in the Usage section of the Change tracking page.

Data history and versioning

See how to enable the plugin here.

GeoSPARQL support

See how to enable this plugin in the Enable plugin section of the GeoSPARQL support page.

RDF Rank

This refers to the RDF Rank filtered mode when you want to calculate the rank only of certain entities. Learn more about this in the Rank filtering section of the Ranking results page.