On 04/04/13 02:43, Andreas Grünwald wrote:
Hello,
I am new to Jena, and I am wondering, if and how it is possible to convert
ontologies between different formats.

At the moment, I am leveraging Protege and the OWLAPI to store concepts,
properties and individuals in serialized OWL/XML files. I would like to
reuse the concepts (T-Box, R-Box) from these files and save them within the
new Jena triple store (Jena SDB and MYSQL). I managed to establish a
connection to the MYSQL data store via the SDB Java API. However, now I
would like to load the ontology's meta model into the database.

Ideally, it would be also very helpful if it is possible to serialize the
current database entries (either classes and properties, or individuals)
into OWL/XML format and vice versa.

Is this possible with Jena? Can you give me some hints, and code examples?
Thank you very much,
Andreas

Jena does not support OWL/XML. You would need to export your OWL as an RDF serialization. RDF/XML is the normative serialization for OWL though Jena handles any of the RDF formats.

Dave


Reply via email to