On 23/02/16 13:02, Taher Labidi wrote:
Hi all,

Using Jena API, how can i convert Model to OWLModel ?
Can any one help me please ?
for converting OWLModel to Model, it's possible by:
"owlModel.getJenaModel()". But from Model to OWLModel is it possible ??

Thanks.

OWLModel is some kind of Protege thing. Nothing to do with the Apache Jena project as far as I'm aware.

getJenaModel returns a view (i.e. it is not a copy of the data but a API converter)

If you want RDF in a OWLModel, you either need an adapter (maybe Protege has one) or load the data into Protege an RDF file.

    Andy



Reply via email to