https://github.com/marklogic/marklogic-jena
Adapter for using MarkLogic with the Jena RDF Framework
https://github.com/marklogic/marklogic-jena
Last synced: 5 months ago
JSON representation
Adapter for using MarkLogic with the Jena RDF Framework
- Host: GitHub
- URL: https://github.com/marklogic/marklogic-jena
- Owner: marklogic
- License: other
- Created: 2015-08-13T17:24:41.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-15T20:47:30.000Z (about 1 year ago)
- Last Synced: 2025-04-05T02:03:47.470Z (9 months ago)
- Language: Java
- Size: 10.8 MB
- Stars: 5
- Watchers: 27
- Forks: 11
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# marklogic-jena v3.0.6
## Introduction
This library integrates MarkLogic Semantics into the [Jena RDF
Framework](http://jena.apache.org) as a persistence and query layer.
### Before you start
#### Setup Marklogic
Ensure MarkLogic (8.0-6 or later) is installed and running.
### To use the develop branch
1) clone or download marklogic-jena _develop_ branch.
```
https://github.com/marklogic/marklogic-jena/tree/develop
```
2) Run the gradle target that provisions a testing database for this project. The command and tests use values recorded in `./gradle.properties`.
```
./gradlew :marklogic-jena:mlDeploy
```
3) Build MarkLogic Jena.
```
./gradlew :marklogic-jena:test
```
To use `marklogic-jena` in your own projects, deploy into local maven repo or copy snapshot jars from /build directory.
```
./gradlew publishToMavenLocal
```
## Usage
### Quick start (Note: draft for future release)
For gradle-based projects include this dependency in `build.gradle`:
```
dependencies {
implementation 'com.marklogic:marklogic-jena:4.1.0'
}
```
Maven-based projects use this block in `pom.xml`:
```
com.marklogic
marklogic-jena
4.1.0
```
### Javadocs
http://marklogic.github.io/marklogic-jena/marklogic-jena/build/docs/javadoc/
### Examples
The project at [marklogic-jena-examples](marklogic-jena-examples) contains some
Java applications that exercise the functionality of MarkLogic using this
library.