An open API service indexing awesome lists of open source software.

https://github.com/komma/komma

KOMMA - RDF object mapper for Java
https://github.com/komma/komma

java modeling object-mapper object-mapping rdf sparql

Last synced: 4 months ago
JSON representation

KOMMA - RDF object mapper for Java

Awesome Lists containing this project

README

          

= KOMMA -- RDF Mapper and Editing Framework for Java

image:https://maven-badges.herokuapp.com/maven-central/net.enilink.komma/net.enilink.komma.model/badge.svg[link="https://maven-badges.herokuapp.com/maven-central/net.enilink.komma/net.enilink.komma.model"]
image:https://badges.gitter.im/komma/komma.svg[link="https://gitter.im/komma/komma?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"]

*Documentation:* http://komma.enilink.net/docs

*API Javadoc:* http://komma.enilink.net/apidocs

*Website:* http://komma.enilink.net

== Features

* *Object-Triple-Mapping*: Mapping of Java interfaces to RDF types -- based on *https://rdf4j.org[RDF4J]*
* Support for *multiple inheritance*
* *Caching* of beans and properties
* Implementation of logic using *behaviours* and *aspect-oriented programming*
* *Model API* for working with *named graphs*
* Dependency injection via https://github.com/google/guice[Google Guice]
* *Editing framework* for CRUD applications
* Eclipse RCP and RAP integration

== Build KOMMA with Maven

KOMMA is a plain Maven project. You can simply use `mvn package` to compile and package all modules or `mvn install` to install them within your local Maven repository.

If you like to build an Eclipse update site (or rather a P2 repository) for KOMMA then use

[source,text]
----
mvn package -Pupdatesite
----

to create it. Afterwards a P2 repository can be found at `features/net.enilink.komma.updatesite/target/repository`.

== Build KOMMA IDE

KOMMA IDE is an Eclipse-based development environment with editing components for RDF, RDFS and OWL.

You can either use the update site as described above to install the modules in Eclipse or build the whole IDE package using:

[source,text]
----
mvn package -Pupdatesite && mvn package -Prelease -f ide/pom.xm
----

Afterwards Linux and Windows packages can be found at `ide/target/products`.

== Develop KOMMA with an IDE
- *Eclipse:* You can import the KOMMA projects into your workspace by executing
__File > Import > Maven > Existing Maven Projects__.
- *IntelliJ IDEA:* You can import the KOMMA projects by executing
__File > New > Project from Existing Sources...__.