Skip to content

michalpie/marklogic-jena

 
 

Repository files navigation

marklogic-jena v1.0.0-SNAPSHOT

Introduction

This library integrates MarkLogic Semantics feature into the Jena RDF Framework as a persistence and query layer.

Setup Java API Client

These instructions are for pre-release builds of this project.

  1. Clone or download Java API client develop branch.
https://github.com/marklogic/java-client-api/tree/develop
  1. Build and deploy Java API client.
 mvn -Dmaven.test.skip=true -Dmaven.javadoc.skip=true deploy

You should verify that Java API client has been deployed to your local maven repo.

Setup Marklogic

Ensure MarkLogic (8.0-4 or later) is installed and running.

Setup MarkLogic Jena

  1. clone or download marklogic-jena develop branch.
https://github.com/marklogic/marklogic-jena/tree/develop
  1. Run the gradle target that provisions a testing database for this project. The command and tests use values recorded in ./gradle.properties.
gradle :marklogic-jena:mlDeploy
  1. 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

Usage

Quick start (Note: draft for future release)

For gradle-based projects include this dependency in build.gradle:

dependencies {
   compile 'com.marklogic:marklogic-jena:1.0.0'
}

Maven-based projects use this block in pom.xml:

<dependency>
    <groupId>com.marklogic</groupId>
    <artifactId>marklogic-jena</artifactId>
    <version>1.0.0</version>
</dependency>

Javadocs

http://marklogic.github.io/marklogic-jena/marklogic-jena/build/docs/javadoc/

Examples

The project at marklogic-jena-examples contains some Java applications that exercise the functionality of MarkLogic using this library.

Support

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.

About

Adapter for using MarkLogic with the Jena RDF Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Web Ontology Language 76.3%
  • Java 23.2%
  • HTML 0.5%