Configuring Blazegraph

From Blazegraph
Revision as of 21:30, 10 March 2016 by Brad Bebee (Talk | contribs)

Jump to: navigation, search

We’ve created some configuration files that represent various common “modes” with which you might want to run Blazegraph. You can find these and other modes in the form of properties files in the Blazegraph source tree, in the “bigdata-sails” module, at:

bigdata-sails/src/samples/com/bigdata/samples [1]

If none of those modes seem right for you, let us help you devise the mode that is right for your particular problem. We offer development support, production support, and custom services around the platform.

"Full Feature Mode"

This turns on all of Blazegraph’s goodies - statement identifiers, free-text index, incremental inference and truth maintenance. The following is how you would use Blazegraph in a system that requires statement-level provenance, free-text search, and incremental load and retraction.

# As you can see, bigdata is nearly in full-feature mode by default.
# All we do here is turn on the provenance mode.

# RWStore (scalable single machine backend)

"RDF-Only Mode"

This mode turns off all inference and truth maintenance, for when you just need to store triples.

# changing the axiom model to none essentially disables all inference

# RWStore (scalable single machine backend)

"Fast Load Mode"

We run Blazegraph in Fast Load Mode when we are evaluating load and query performance, for example with the LUBM harness. This turns off some features that are unnecessary for this type of evaluation (statement identifiers and the free text index), which increases throughput. This mode still does inference, but it is database-at-once instead of incremental. It also turns off the recording of justification chains, meaning it is an extremely inefficient mode if you need to retract statements (all inferences would have to be wiped and re-computed). This is a highly specialized mode for highly specialized problem sets.


We've set up three modes for Blazegraph that configure the store properly for triples, triples with provenance, and quads. Look for the TRIPLES_MODE, TRIPLES_MODE_WITH_PROVENANCE, and QUADS_MODE on AbstractTripleStore.Options and BigdataSail.Options.

Currently Blazegraph does not support inference or provenance for quads, so those features are automatically turned off in QUADS_MODE.