xOWL Infra - Engine

Provides facilities for the execution of xOWL ontologies

License

License

GroupId

GroupId

org.xowl.infra
ArtifactId

ArtifactId

xowl-engine
Last Version

Last Version

2.3.4
Release Date

Release Date

Type

Type

bundle
Description

Description

xOWL Infra - Engine
Provides facilities for the execution of xOWL ontologies
Project Organization

Project Organization

Association Cénotélie

Download xowl-engine

Dependencies

compile (3)

Group / Artifact Type Version
org.clojure : clojure jar 1.8.0
org.osgi : org.osgi.core jar 6.0.0
org.xowl.infra : xowl-store jar 2.3.4

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

xOWL Infrastructure

Build Status

This is the xOWL Infrastructure, a set of components for working with datasets in the semantic web and linked data world:

  • Manipulate RDF and OWL2 datasets (N-Triples, N-Quads, Turtle, RDF/XML, JSON-LD, OWL/XML, Functional OWL)
  • Query engine with RDF and OWL2 interfaces
  • Rule engine with RDF and OWL2 interfaces
  • Expression and execution of arbitrary behavior in data using Clojure
  • Deployable triple store server

xOWL is also the name of the language used to express behavior within OWL2 ontologies. xOWL basically enable the inclusion of snippets of Clojure code as named entities in ontologies. In OWL2 ontologies, an entity can be attributed several interpretations: as a class, as an individual (instance), as an object or data property, etc. With the xOWL extension, an entity can have a new behavioral interpretation defined in a piece of Clojure code:

Prefix(xsd: = <http://www.w3.org/2001/XMLSchema#>)
Prefix( : = <http://xowl.org/infra/engine/tests/Sample#>)
Ontology( <http://xowl.org/infra/engine/tests/Sample>
    FunctionDefinition(:hello (fn [] "Hello World"))
    DataPropertyAssertion(:hasName :hello "A function that says hello.")
)

How do I use this software?

As Java libraries

The xOWL Infrastructure can be used as embeddable Java libraries. With Maven, most features can be included with:

<dependency>
    <groupId>org.xowl.infra</groupId>
    <artifactId>xowl-store</artifactId>
    <version>2.1.0-SNAPSHOT</version>
    <scope>compile</scope>
</dependency>

For the inclusion of the expression and execution of behavior in ontologies, also include the xowl-engine bundle:

#!xml
<artifactId>xowl-engine</artifactId>

All libraries in the xOWL Infrastructure and their dependencies are OSGi bundles that can be readily deployed on OSGi platforms such as Apache Felix, or Eclipse Equinox.

Triple Store Server

The xOWL Infrastructure also implements a triple store server that can be used through the downloadable distribution or by using the Docker image.

To use the downloadable distribution (Java 8 required), simply download it. Then to administer the server, use the provided admin.sh script:

# Launch the server
$ ./admin.sh start
# Stop the server
$ ./admin.sh stop

With a web-browser, go to https://localhost:3443/web/. The default administrator login and password are admin and admin.

To install the xOWL triple store server as a linux daemon, simply run (sudo will be asked for):

$ ./install-daemon.sh

Then, the daemon can be controlled as usual:

$ sudo service xowl-server start
$ sudo service xowl-server stop
$ sudo service xowl-server restart

The triple store server is also available as a Docker image at nexus.cenotelie.fr/xowl/xowl-server:latest. To run the latest image:

$ docker run -d -p 3443:3443/tcp --name my-xowl-instance -v /path/to/host/data:/xowl-data nexus.cenotelie.fr/xowl/xowl-server:latest

Replace the /path/to/host/data to a path where to store the databases on your system. With a web-browser, go to https://localhost:3443/web/. The default administrator login and password are admin and admin.

How to build

To build the artifacts in this repository using Maven:

$ mvn clean install -Dgpg.skip=true

Then, to build the other redistributable artifacts (redistributable package and Docker image):

$ ./.releng/build.sh

For this, Docker must be locally installed.

How can I contribute?

The simplest way to contribute is to:

  • Fork this repository on Bitbucket.
  • Fix some issue or implement a new feature.
  • Create a pull request on Bitbucket.

Patches can also be submitted by email, or through the issue management system.

The isse tracker may contain tickets that are accessible to newcomers. Look for tickets with [beginner] in the title. These tickets are good ways to become more familiar with the project and the codebase.

License

This software is licenced under the Lesser General Public License (LGPL) v3. Refers to the LICENSE.txt file at the root of the repository for the full text, or to the online version.

org.xowl.infra

Cénotélie

Versions

Version
2.3.4
2.3.3
2.3.2
2.3.1
2.3.0
2.2.0
2.1.0
2.0.0
1.0.2
1.0.1
1.0.0
1.0-beta9
1.0-beta8
1.0-beta7
1.0-beta6
1.0-beta5
1.0-beta4
1.0-beta3
1.0-beta2