RDF / Graph to Object Mapping Framework [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this questionHas 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
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.
精彩评论