Benjamin, I am not certain what you are trying to do. If you are looking to create Java classes that map to ontology classes you might look at PA4RDF ( http://pa4rdf.sourceforge.net/) as it allows you to define functions that access the Jena Model Resource properties directly.
Claude On Thu, Oct 9, 2014 at 10:02 PM, Benjamin Eckstein <umi...@gmail.com> 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). > -- I like: Like Like - The likeliest place on the web <http://like-like.xenei.com> LinkedIn: http://www.linkedin.com/in/claudewarren