Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

RDF / Graph to Object Mapping Framework [closed]

Has anyone used, implemented, knows or just have heard of any graph (especially RDF) to object mapping frameworks for java.

We are evaluating frameworks at the moment. So far we have:

  • KMS
  • JenaBean
  • Alibaba
  • Elmo
  • Tinkerpop Stack - Especially Blueprints and Frames
  • Empire
  • Spring Data Graph
  • jo4neo
  • Callimachus Project
like image 890
Thomas Fritz Avatar asked Aug 04 '11 09:08

Thomas Fritz


1 Answers

There is also RDF2Go, which has has RDFReactor.

I remember that Elmo is very nicely done, using only interfaces for class definitions, and java-proxy objects for the implementations allow quite clean multiple inheritance...

In general though I wonder if these frameworks really are worth it. The theory is that they hide the "complexity" of RDF and allow normal java programmers to work with RDF - but in the process they also hide one of the main benefits of RDF, being able to deal with data-structured not known at compile time.

The "schemalessness" of RDF is great for small projects, or for extending normal schemas, and of course RDFS offers a way to formalise and standardise your new properties/classes when you need to. As Kendall Clark says "Correctness when it matters; sloppiness when it doesn’t". If you pre-generate all your object interfaces from a schema you lose all this - of course you could have a generic bean interface at the top (i.e. DynaBean) which would let you query for properties not in your scheam, but then you could just as well just use the Jena OntResource.

like image 83
gromgull Avatar answered Oct 04 '22 00:10

gromgull