### OpenRDF Index/Query

code

docs

tests

Index/Query services backed by OpenRDF Sesame framework for processing RDF data.

Table 72. Artifact

Group ID | Artifact ID | Version
--- | --- | ---
org.qi4j.extension | org.qi4j.extension.indexing-rdf | 2.1

#### In Memory

Assembly is done using the provided Assembler:

    new RdfMemoryStoreAssembler().assemble( module );

No configuration needed.

#### On Filesystem

##### Assembly

Assembly is done using the provided Assembler:

    new RdfNativeSesameStoreAssembler().assemble( module );

##### Configuration

Here are the configuration properties for the Native RDF Index/Query:

    public interface NativeConfiguration extends ConfigurationComposite
    {
        @Optional @Matches( "([spoc][spoc][spoc][spoc],?)*" ) Property<String> tripleIndexes();

        @Optional Property<String> dataDirectory();

        @UseDefaults Property<Boolean> forceSync();
    }

#### In a RDBMS

##### Assembly

Assembly is done using the provided Assembler:

    new RdfRdbmsSesameStoreAssembler().assemble( module );

##### Configuration

Here are the configuration properties for the RDBMS based RDF Index/Query:

    public interface RdbmsRepositoryConfiguration
    {
        Property<String> jdbcDriver();
        Property<String> jdbcUrl();
        Property<String> user();
        Property<String> password();
    }