Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] manage ontology import programmatically

Nwe ni Tun nini.nnt at hotmail.com
Wed Nov 12 21:43:14 PST 2008






Hello,

I want to import iswc-CP.owl into univ-SPURa.owl.
The following code does not work.
Thanks for any hint!

NNT

//////////////////////////////

JenaOWLModel jenaOwlModel = ProtegeOWL.createJenaOWLModelFromURI("file:///c:/ranking/integrate/univ-SPURa.owl");
ImportHelper helper = new ImportHelper(jenaOPWLModel);
helper.addImport(new File("iswc-CP.owl").toURI());
helper.importOntologies();

Discover the new Windows Vista Learn more!

_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20081113/6af81123/attachment.html>
-------------- next part --------------
An embedded message was scrubbed...
From: Nwe ni Tun <nini.nnt at hotmail.com>
Subject: manage ontology import programmatically
Date: Thu, 13 Nov 2008 13:37:57 +0900
Size: 2883
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20081113/6af81123/attachment.mht>


More information about the protege-discussion mailing list