From: daniele s. <df....@gm...> - 2013-07-28 07:32:24
|
Hi, I'll check if there is a conflict with IRIs, thank you !! Daniele In data 28 luglio 2013 alle ore 01:14:13, Ignazio Palmisano <ipa...@gm...> ha scritto: > On 27 July 2013 17:35, daniele santamaria <df....@gm...> > wrote: >> >> >> Hello guys, I would create an empty ontology with a specific IRI and >> saving it on local disk. So I write: >> >> OWLOntology >> outOntology=manager.createOntology(IRI.create("http://..."); >> ..... >> ... >> ... >> File outFile = new File(myowldestinationfile); >> IRI outIRI=IRI.create(outFile); >> manager.saveOntology(outOntology,outIRI); >> >> I receive this runtime error: >> >> org.semanticweb.owlapi.model.OWLOntologyAlreadyExistsException: Ontology >> already exists >> >> (I make sure there is no anonymous file in that folder) anyway the file >> is >> created with all axioms I added. > > Hi, the error is not to do with existing files but with existing > ontologies with the same name in the manager. Did you use the same > manager to create two ontologies with the same IRI? > HTH, > I. > >> Thank you ! >> Daniel >> >> ------------------------------------------------------------------------------ >> See everything from the browser to the database with AppDynamics >> Get end-to-end visibility with application monitoring from AppDynamics >> Isolate bottlenecks and diagnose root cause in seconds. >> Start your free trial of AppDynamics Pro today! >> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk >> _______________________________________________ >> Owlapi-developer mailing list >> Owl...@li... >> https://lists.sourceforge.net/lists/listinfo/owlapi-developer > > ------------------------------------------------------------------------------ > See everything from the browser to the database with AppDynamics > Get end-to-end visibility with application monitoring from AppDynamics > Isolate bottlenecks and diagnose root cause in seconds. > Start your free trial of AppDynamics Pro today! > http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk > _______________________________________________ > Owlapi-developer mailing list > Owl...@li... > https://lists.sourceforge.net/lists/listinfo/owlapi-developer -- Creato con il rivoluzionario client email di Opera: http://www.opera.com/mail/ |