Thanks Marco, 2011/3/14 Marco Neumann <[email protected]>: > please post a message to [email protected] in regards to > questions about JenaBeans, and please cc me. >
Done. >> >> Unfortunately, Schemagen is just creating single class with static >> fields, and I'm looking for something that creates full set of Java >> classes/interfaces, mirroring ontology classes. > > I see, so you loose the class inheritance relationship? Yeah, I'm new to ontologies world and wonder why such framework, let's call it OOM (object-ontology mapping) is missing (or at least is not so widely used so that I could find it easily). I believe this is a key technology required in order to develop ontology-driven applications easily. I found good beginnings of the work (owl2java, RDFReactor, Jastor etc.), but none of the projects seem to be alive. The other opportunity I though about is validating those Java classes using ontology rules, that cannot be expressed in code (e.g. transitivity or cardinality constraints), Jena can be used as engine for doing that since AFAIK it supports reasoning and validation. So my vision of ontology-driven programming in Java is that you work with Java domain classes, and they are automatically mirrored to ontology concepts, validated with ontology rules and persisted if needed. Much like ORMs do these days, but using ontologies instead of database schemas and therefore gaining all benefits of rigid logics. Do you know of solutions like that? Hope that makes sense, Andrey
