Java library for nanopublications based on Sesame
Java Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
scripts
src
.gitignore
LICENSE.txt
README.md
pom.xml

README.md

nanopub-java

This is a Java library for nanopublications (see http://nanopub.org) based on Sesame.

Publication

Usage

The easiest way to use this library in your project is to let Maven download it from The Central Repository. Just include the following lines in your pom.xml file:

<dependency>
  <groupId>org.nanopub</groupId>
  <artifactId>nanopub</artifactId>
  <version>1.11</version>
</dependency>

Formal Structure of a Nanopub

This library implements the formal restrictions defined in the official nanopublication guidelines.

Compilation and Installation

Maven has to be installed to compile and install the library:

$ mvn clean install

The library features can then be accessed using the scripts in the scripts/ directory or using the command np in bin/. For example:

$ np check nanopubfile.trig

One can also directly use the JAR file (as generated in target/) or download a prebuilt one:

$ java -jar nanopub-1.9-jar-with-dependencies.jar check nanopubfile.trig

Developers

License

nanopub-java is free software under the MIT License. See LICENSE.txt.

Usage Tracking

This is an incomplete list of software projects using this library: