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