This library integrates MarkLogic Semantics into the Jena RDF Framework as a persistence and query layer.
Ensure MarkLogic 8.0-4 is installed and running. To use marklogic-jena
applications you will need access to a running MarkLogic server.
This API is distributed on Maven Central.
For gradle-based projects, include this dependency in build.gradle
:
dependencies {
compile 'com.marklogic:marklogic-jena:1.0.0'
}
For Maven-based projects, use this block in pom.xml
:
<dependency>
<groupId>com.marklogic</groupId>
<artifactId>marklogic-jena</artifactId>
<version>1.0.0</version>
</dependency>
The Javadocs have quick start examples for how to do graph CRUD, SPARQL query, and SPARQL Update.
- Clone or download marklogic-jena develop branch.
https://github.com/marklogic/marklogic-jena/tree/develop
- Run the gradle target that provisions a testing database for this project. The command and tests use values recorded in
./gradle.properties
to set up a MarkLogic REST instance on localhost.
gradle :marklogic-jena:mlDeploy
- Build MarkLogic Jena.
gradle :marklogic-jena:test
To use marklogic-jena
in your own projects, deploy into local maven repo or copy snapshot jars from /build directory.
gradle install
http://marklogic.github.io/marklogic-jena/marklogic-jena/build/docs/javadoc/
The project at marklogic-jena-examples contains some Java applications that exercise the functionality of MarkLogic using this library.
The markLogic-jena project is maintained by MarkLogic Engineering and distributed under the Apache 2.0 license. It is designed for use in production applications with MarkLogic Server. Everyone is encouraged to file bug reports, feature requests, and pull requests through GitHub. This input is critical and will be carefully considered, but we can’t promise a specific resolution or timeframe for any request.
In addition, MarkLogic provides technical support for release
tags of marklogic-jena
licensed customers under the terms outlined in the Support
Handbook. For
more information or to sign up for support, visit
help.marklogic.com.