The markLogic-rdf4j API is a RDF4J Repository implementation exposing MarkLogic semantic features.
The markLogic-rd4j API supports RDF4J v2.2.1.
Ensure MarkLogic 9.0-2 or greater is installed and running. To use marklogic-rdf4j applications you will need access to a running MarkLogic server.
The markLogic-rdf4j API is available via Maven Central.
For gradle projects, include the following dependency in your build.gradle
:
dependencies {
compile group: 'com.marklogic', name: 'marklogic-rdf4j', version: '1.0.0'
}
For maven projects, include in your pom.xml:
<dependency>
<groupId>com.marklogic</groupId>
<artifactId>marklogic-rdf4j</artifactId>
<version>1.0.0</version>
</dependency>
This section describes how to build and test marklogic-rdf4j API from develop branch.
marklogic-rdf4j depends on MarkLogic Java API Client v4.0-1 and should pull down this version from maven central.
To optionally build marklogic-rdf4j with develop branch version of MarkLogic Java API Client:
mvn -Dmaven.test.skip=true -Dmaven.javadoc.skip=true deploy
Verify that Java API client has been deployed to your local maven repo.
compile('com.marklogic:marklogic-client-api:5.0-SNAPSHOT')
marklogic-rdf4j depends on MarkLogic v9.0-2 or greater installed and running;
gradle marklogic-rdf4j:mlDeploy
You should be able to test marklogic-rdf4j repository by running:
gradle marklogic-rdf4j:test
Build and deploy a local maven marklogic-rdf4j snapshot by running;
gradle marklogic-rdf4j:install
optionally you can build the jar without running tests.
gradle build -x test
and copy resultant build/lib/marklogic-rdf4j-1.0.0.jar.
The marklogic-rdf4j-examples folder contains a sample project that demonstrates usage of marklogic-rdf4j.
Latest javadocs are here
You may generate javadocs by running;
gradle marklogic-rdf4j:javadoc
Everyone is encouraged to file bug reports, feature requests, and pull requests through GitHub. This input is critical and will be carefully considered, though we cannot promise a specific resolution or timeframe for any request.
Learn how to contribute.
The marklogic-rdf4j is maintained by MarkLogic Engineering and distributed under the Apache 2.0 license. In addition, MarkLogic provides technical support for release tags of the MarkLogic RDF4J API to licensed customers under the terms outlined in the Support Handbook. For more information or to sign up for support, visit help.marklogic.com.