Benjamin,

Regarding creation of RDF from SQL (relational databases), take a look at D2RQ:
http://d2rq.org

You can define a declarative mapping and pass it to D2RQ. In the ideal
case you won't even have to touch Java.


Martynas

On Thu, Oct 9, 2014 at 11:02 PM, Benjamin Eckstein <[email protected]> wrote:
> Hello again,
>
> i made some progress with my first Jena Application, but i am really unsure
> if this way i am doing
> things is "good practice".
> can anybody do a quick review and give me a feedback?
>
> http://pastebin.com/S4iFTytz
>
> Basic Idea:
>
> I create a "Model" Class to interact with Individuals for each OntClass.
> This way i do not need to repeat URIs for properties and can have functions
> like ... create Additional Data from the Input.
>
> Each Model Class has an inner Metaclass that keeps track about the semantic
> like Namespace Properties etc...
>
> Thanks for any Feedback from experienced Jena Users.
>
> Btw: keeping the Metamodel static and do not create properties on demand
> increases performance from 71 to 50 seconds. (Import from DB to Ontology).

Reply via email to