This is a Java library for nanopublications (see http://nanopub.org) based on Sesame.
- Tobias Kuhn. nanopub-java: A Java Library for Nanopublications. In Proceedings of the 5th Workshop on Linked Science (LISC 2015). 2015.
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
<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
directory or using the command
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
- Tobias Kuhn (http://www.tkuhn.org)
nanopub-java is free software under the MIT License. See LICENSE.txt.
This is an incomplete list of software projects using this library: