Search Mailing List Archives
[protege-owl] Load ontology from protege server
tredmond at stanford.edu
Tue Apr 24 07:37:56 PDT 2007
To get the project remotely use the RemoteProjectManager.
RemoteProjectManager rpm = RemoteProjectManager.getInstance();
Project p = rpm.getProject("localhost", "Timothy Redmond",
"troglodyte", "Pizza", true);
OWLModel om = (OWLModel) p.getKnowledgeBase();
OWLNamedClass pizza = om.getOWLNamedClass("Pizza");
On Apr 23, 2007, at 10:34 AM, ulrich thye wrote:
> On Mon, 23 Apr 2007 09:26:17 -0700
> Timothy Redmond <tredmond at stanford.edu> wrote:
>> Take a look at
> Yes, I have read that, and it works...
> but I like to know how to set up a conection programaticaly
> OWLModel owlModel = ProtegeOWL.createJenaOWLModelFromURI(uri);
> I haven´t try uri=rmi://hostname/projektname (it´s seems to simple) ?,
> I suppose I have first establish a connection to the server....
> protege-owl mailing list
> protege-owl at lists.stanford.edu
> Instructions for unsubscribing: http://protege.stanford.edu/doc/
More information about the protege-owl