Skip to content

EBIBioSamples/java2rdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

java2rdf

A simple library to map Java objects and Java beans onto RDF/OWL. Contrary to other similar tools, java2rdf is based on declaring mappings between JavaBeans and RDF/OWL entities in dedicated mapping Java classes, so not in configuration files (you don't have to learn yet another XML schema), not via Java annotations (you don't always have access to, or want to spoil the source model).

We have a 5-min presentation about java2rdf. That shows code exerpts from this example, we also have another example, showing a slightly different, 'quick-n-dirty' way to define object mappings (we recommend the former approach in real applications).

Here you can read something more about java2rdf and the BioSD Linked Data Project, for which it was built.

Ondex is another example where java2rdf is used to export RDF from Ondex knowledge network format.

Note that version 2 has been re-implemented based on Commons-RDF, so that now you can choose to configure java2rdf to use Jena or RDF4j as underlining RDF framework (we don't support OWLAPI anymore).