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-owl] ontologies in jade

Antonio Amado aca at uninova.pt
Thu Jan 3 17:09:03 PST 2008


Hi Csongor,

I wrote “2 ontologies registered in the same agent” because in the setup()
method we have to register de ontology in the ContentManager in order to use
it, right?

I know about the OntologyBeanGenerator plugin, and I have been using it J
(by the way , it is a very useful plugin!).

 

In the setup() method can I do:

 

getContentManager().registerOntology(ontology1);

getContentManager().registerOntology(ontology2);

 

and use both ontologies at the same time, in the same agent with no
problems?! (that’s my initial doubt, sorry if I wasn’t explicit enough)

 

Thanks one more time

Best,

 

António

 

p.s.: thanks for the grammar correction of the word “registed”. My English
is not the best of allL

 

 

From: protege-owl-bounces at lists.stanford.edu
[mailto:protege-owl-bounces at lists.stanford.edu] On Behalf Of Csongor Nyulas
Sent: sexta-feira, 4 de Janeiro de 2008 00:48
To: User support for the Protege-OWL editor
Subject: Re: [protege-owl] ontologies in jade

 

Hi Antonio,

I don't know what exactly you mean when you say "2 ontologies registered in
the same agent", but you can load 2 or more different ontologies in the same
agent, in order to extract/write information from/to them. After you load an
ontology with the Protege API you will get an instance of
JenaOWLKnowledgeBase or JenaOWLModel which can be part of the agent's state
information exactly as any other Java instance. The loading of the ontology
can be a long operation and I recommend that you do it only once (if
possible) in the setup() method (or other similar initialization method,
depending on the type of your agent).

You may also be interested in the OntologyBeanGenerator plugin, which I have
improved and I will release it today on the JADE developers mailing list.

Best,
Csongor

Antonio Amado wrote: 

Good night everyone,

I’m working with jade agents, and I need to use 2 ontologies created with
protégé. It is possible to have 2 ontologies registed in the same agent or I
have to build one agent for each ontology?

 

Thanks to everyone,

 

António

 

 
 
 



  _____  



 
 
 
_______________________________________________
protege-owl mailing list
protege-owl at lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl
 
Instructions for unsubscribing:
http://protege.stanford.edu/doc/faq.html#01a.03 
  

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-owl/attachments/20080104/d3235e38/attachment.html>


More information about the protege-owl mailing list