Giter Site home page Giter Site logo

cesarmarinhorj / owl2vowl Goto Github PK

View Code? Open in Web Editor NEW

This project forked from visualdataweb/owl2vowl

0.0 2.0 0.0 1.09 MB

Converting ontologies for WebVOWL

Home Page: http://vowl.visualdataweb.org

License: MIT License

Web Ontology Language 92.45% Java 7.55%

owl2vowl's Introduction

OWL2VOWL converter Build Status

  • Update to JDK 8 (JDK 6 and 7 already outdated and owlapi 4 needs at least JDK 7)
  • Update to owlapi 4

Requirements

  • Java 8 (or higher)
  • Maven

Instructions for using OWL2VOWL JAR

The converted ontology will be written in a .json file in the working directory by default.

Convert an ontology by its IRI

Run owl2vowl.jar with the -iri parameter: java -jar owl2vowl.jar -iri "[Ontology IRI]"

Example: java -jar owl2vowl.jar -iri "http://ontovibe.visualdataweb.org"

Convert an ontology from a local file

Run owl2vowl.jar with the -file parameter: java -jar owl2vowl.jar -file path/to/local/ontology

Example: java -jar owl2vowl.jar -file ontologies/foaf.rdf

Convert an ontology with dependencies from a local file

Run owl2vowl with the additional -dependencies parameter: java -jar owl2vowl.jar -file path/to/local/ontology -dependencies path/to/dependency1 path/to/dependency2 ...

Example: java -jar owl2vowl.jar -file ontovibe.ttl -dependencies ontovibe_imported.ttl

Echo the converted ontology on the console

Use any of the input parameters together with the -echo flag: java -jar owl2vowl.jar -echo -iri "[Ontology IRI]"

Example: java -jar owl2vowl.jar -iri "http://ontovibe.visualdataweb.org" -echo

Instructions for developing with OWL2VOWL

First steps

Maven is required to develop with OWL2VOWL and compile the code. It will load all dependencies automatically. If there occur any problems, refreshing the dependencies might solve them. OWL2VOWL has been developed to work with Java 8, so JDK 8 has to be used for compiling.

Build the jar

To build the jar file, simply execute mvn package. The built jar only contains the compiled source code. To build a jar file that can be executed standalone, you have to use the package option with parameter: mvn package -Denv=standalone or mvn package -P standalone-release. This will build the file owl2vowl.jar containing all dependencies needed to be executable. There will also be a zip file created containing the owl2vowl.jar, README and the license files.

Build the war

To build the war file, simply execute mvn package -P war-release. This will generate a war file. This war can be execute like a jar file to start a local server.

Running in IDE

It would be a pain always building the jar only to test some new implemented stuff. We included a possiblity to run the conversion directly with the IDE. For this you need to change the ConverterImpl.java class.

To run a Spring Server directly from the IDE you have to start the ServerMain.java class.

owl2vowl's People

Contributors

blackdark avatar linkvt avatar steffen-l avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.