Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.46 KB

README.md

File metadata and controls

24 lines (20 loc) · 1.46 KB

Lizard in a nutshell

Lizard automatically generates language-agnostic APIs for accessing knowledge bases without knowing of Semantic Web languages (such as RDF, OWL or SPARQL).

To generate the APIs of a KB Lizard only needs of the ontology that describes the schema of the information containted in the knowledge base. Given as input an ontology, Lizard generates a Java library for accessing the target knowledge base. The generated APIs expose the RDF triples as sets of resources and seamlessly integrates them into the Object Oriented paradigm.

Moreover, Lizard provides a RESTful layer that exposes Object Oriented paradigm by using the REST architectural style over HTTP. The RESTful layer is described in Swagger notation. The Swagger description enable API users to generate a RESTful client in over 40 different programming languages.

Using Lizard

  1. Clone the repository and move to the jars directory
~$ git clone https://github.com/anuzzolese/lizard.git
~$ cd lizard/lizard.main/jars/
  1. Set the configuration file (see the exemplary configuration file lizard/lizard.main/jars/lizard-core.conf)

  2. Execute the JAR

~$ java -jar lizard-core-with-dep.jar -b -c lizard-core.conf -o <OUTPUT_DIRECTORY>

where <OUTPUT_DIRECTORY> is the directory that will store the generated code. It is worth noticing that with -b option Lizard will install the generated package into the local Maven repository.