-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This project contains a Google Web Toolkit (GWT) compatible portion of the OWL API. In essence, most of the model objects (OWLEntity, OWLClassExpression, OWLAxiom etc.), excluding OWLOntology, can be used on the client side. Some client incompatible methods (notably to ones containing OWLOntology in their signature) have been removed. A subset of these objects corresponding to instances of OWLEntity, OWLClassExpression and OWLAxiom can be sent over the wire using GWT serialisation.
To use, declare the following maven dependency (or place the owlapi-gwt-3.4.9.jar on your class path).
<dependency>
<groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi-gwt</artifactId>
<version>3.4.9</version>
</dependency>
Add an <inherits name="org.semanticweb.owlapi.gwt.owlapi"/>
declaration to your GWT module file.
You will also need the OWL API jars on your class path. You can use the following maven dependency
<dependency>
<groupId>net.sourceforge.owlapi</groupId>
<artifactId>owlapi-distribution</artifactId>
<version>3.4.9</version>
</dependency>
The project is structured into three maven modules:
- owlapi-gwt produces a jar which is a GWT module. Use this jar in your GWT projects.
- owlapi-gwt-supersource is the module that contains the code which gets translated to JavaScript by the GWT compiler. This is a much stripped down version of the OWL API. This isn't for end user consumption (it is just part of the build process).
- owlapi-gwt-serialization-tests contains GWT test cases to ensure that code can be compiled by the GWT compiler and can be sent over the wire using GWT serialisation.