Mixing RDF and ORM Approaches

I am working on a team studying the technology stack for a greenfield systems integration project. Part of our privileged technology stack uses Hibernate to maintain its internal state and provides intercepts in Hibernate transactions so that business entities remain synchronized with the state of this utility. Great, except that we need to maintain information about objects of an unknown type and associate this data with predefined types. We need a scalable data warehouse that does not require a schema to be defined in advance. A sweet spot would be mixing RDF data and Hibernate managed objects.

Have you faced a similar requirement and what approaches can you recommend?
Any RDF / ORM mixture should support rare large-scale queries for reporting and data mining, as well as frequent concentration of read and write operations in support of transactions.

+4
source share
4 answers

I use RDF in my project, and what we did is use OWL to define the ontology for the RDF data and give it some kind of structure. From there, we generate C # classes from the OWL ontology. It's nice to note that you can still add additional data about your topic, but still have a class structure that makes sense in most of your cases.

+1
source

One solution is to keep the object model at the RDF tripestor level, for example, using classes to

  • nodes: uris, spaces and literals
  • : collections of three or more nodes (three for the RDF triple, additional nodes for the meta)

Querying such a store essentially does a triple / n-tuple pattern matching in statements.

0
source

Have you considered defining a sleep model for known data and adding a CLOB with XML to store unknown material? This way you save your regular hibernation code mainly and only when you need to access additional materials loading XML from CLOB fields and processing it.

Look here for a similar problem with a similar solution.

0
source

The Tripresso wiki page has a list of MFP objects that allow you to work with RDF data in an object-oriented manner. I doubt any of them integrates directly with Hibernate, but they at least provide something similar.

0
source

All Articles