Blazegraph is the RDF triple store that Islandora uses to power SPARQL queries and linked data indexing. In an Islandora stack, Blazegraph runs as a Docker service alongside Drupal and Fedora.
The blazegraph component controls whether Blazegraph is included in your stack. The LibOps template defaults to disabled; enable it for sites that need RDF indexing and SPARQL queries.
Supported dispositions:
Check current state
The output shows whether blazegraph is on, off, or drifted.
Enable Blazegraph
This adds the Blazegraph service and blazegraph-data volume back to
docker-compose.yml, enables ALPACA_TRIPLESTORE_INDEXER_ENABLED, restores
Drupal’s default triplestore namespace, and seeds any missing managed Drupal
triplestore action files. Existing action bodies are preserved while Blazegraph
remains enabled, but those files are component-owned lifecycle artifacts:
disabling Blazegraph removes them, and a later re-enable seeds the canonical
content again.
The Islandora plugin changes only Blazegraph’s named reaction entries inside
the shared media, repository-content, and taxonomy context files. Unknown keys,
adjacent actions, and downstream policy in those files are preserved. Fedora’s
reaction entries are owned independently by the fcrepo component, so all four
Fedora/Blazegraph enabled and disabled combinations are supported.
Disable Blazegraph
This removes the Blazegraph service and volume from docker-compose.yml,
disables Alpaca triplestore indexing, clears Drupal’s default triplestore
namespace, removes the managed triplestore action files, and deletes only
Blazegraph’s named reactions from the shared context files. Fedora reactions
and unrelated downstream configuration remain intact. A future
docker compose up will not start Blazegraph.
Disabling Blazegraph removes the service from the Compose project definition. Any RDF data stored in Blazegraph is not deleted from disk immediately, but it will not be preserved through volume lifecycle commands. Back up your Blazegraph data before disabling on a site with content.
Create flags
Choose the triplestore shape during sitectl create isle:
When to disable Blazegraph
Blazegraph is resource-intensive. Consider disabling it for:
- Minimal development stacks: when you’re working on Drupal code that doesn’t involve SPARQL or linked data
- Stacks that have replaced Blazegraph: some Islandora installations have moved to alternative triple stores; if yours has, you can disable Blazegraph here to remove it from the Compose project
If you’re running a standard Islandora installation and using features that rely on RDF queries, Blazegraph should be on.