Skip to content

shade-belisar/vlog4j

 
 

Repository files navigation

VLog4j

Build Status Coverage Status Maven Central

A Java library based on the VLog rule engine

Installation

The current release of VLog4j is version 0.2.0. The easiest way of using the library is with Maven. Maven users must add the following dependency to the dependencies in their pom.xml file:

<dependency>
	<groupId>org.semanticweb.vlog4j</groupId>
	<artifactId>vlog4j-core</artifactId>
	<version>0.2.0</version>
</dependency>

You need to use Java 1.8 or above. Available modules include:

  • vlog4j-core: essential data models for rules and facts, and essential reasoner functionality
  • vlog4j-rdf: support for reading from RDF files
  • vlog4j-owlapi: support for converting rules from OWL ontology, loaded with the OWL API

The released packages use vlog4j-base, which packages system-dependent binaries for Linux, MacOS, and Windows, and should work out of the box with current versions of these systems. In case of problems, own binaries can be compiled as follows:

  • Run build-vlog-library.sh or execute the commands in this file manually. This will compile a local jar file on your system, copy it to ./vlog4j-core/lib/jvlog-local.jar, and install the new jar locally in Maven in place of the distributed version of vlog4j-base.
  • Run mvn install to test if the setup works

Documentation

  • The module vlog4j-examples includes short example programs that demonstrate some common use cases
  • JavaDoc is available online and through the Maven packages.

About

Java library based on the VLog rule engine

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.9%
  • Shell 0.1%