Hi,
JADE does not have an embedded inference engine where you can keep facts and reason about them. If you need it you should/can integrate a java based one inside your agents.
As for your second question, annotations in Java beans are not mandatory. You CAN use them if you have special requirements (e.g. if you want to change the name of a slot), but you are not obliged to do that .
Bye,
Giovanni
P.S. Please always post your messages to the jade-develop mailing list and not to me directly
Da: Lisdey Perez Hernandez [mailto:lperez at jwebsocket.org]
Inviato: venerdì 26 settembre 2014 15:31
A: Caire Giovanni
Oggetto: RE: R: [jade-develop] How to import ontologies from an XML file
Hello Giovanni,
Thanks for the quick response, I will to try to adopt that approach, the system that will deliver the ontologies is still under development as well as the MAS that I talked about in my previous mail. So all this doubts are still theoretical, but I need to understand it all to be able of define all the aspects to consider.
I have some others questions, that I will be really grateful if you can guide me. Iâm studying based in the book Developing Multi-Agent Systems with JADE and there I couldnât find how the knowledge evolve is treated (inference), I mean how are included the necessary facts of the respective domain in the ontology? And how this facts can be updated by an agent?
In the other hand, I studied the BeanOntology tutorial that I found in the JADE home page and to the ontological Java beans is some cases is necessary to add annotations to characterize the slots in terms of optionality, cardinality of aggregate fields and possibly other ontological peculiarities, but if I use a tool to generate these from an XML file, those annotations will not be present, that is big problem?
Iâm sorry if I made a lot of questions but Iâm really new in the multi-agent system developmentâŠ
Thanks for all your help,
Best regards,
Lisdey
----- Original Message -----
From: Caire Giovanni [mailto:giovanni.caire at telecomitalia.it]
To: lperez at jwebsocket.org,jade-develop at avalon.tilab.com
Sent: Fri, 26 Sep 2014 11:40:30 +0200
Subject: R: [jade-develop] How to import ontologies from an XML file
Hi,
Since the introduction of the BeanOntology, a JADE Ontology is composed of a set of bean classes plus the actual ontology class that just lists all beans.
Therefore you can
1) transform the xml files into Java beans. For instance if your XML files contain XSD schemas there are tools available to automatically generate the beans.
2) Create the ontology class extending BeanOntology. If the import step can be done offline and the number of beans generated in step 1 is not too high, this can be done VERY easily by hands. Otherwise you should create a small code that scans all beans and automatically generate the ontology class or even add the bean classes to an initially empty BeanOntology object on the fly.
Bye,
Giovanni
Da: jade-develop [mailto:jade-develop-bounces at avalon.tilab.com] Per conto di Lisdey Perez Hernandez
Inviato: giovedì 25 settembre 2014 17:06
A: jade-develop at avalon.tilab.com
Oggetto: [jade-develop] How to import ontologies from an XML file
Hello, my name is Lisdey and I'm a beginner in the development of MAS with JADE. I need to create an MAS where the agents could use an imported ontology from and XML file for instance. Why do I need this? Because the ontologies of my MAS will be provided for an external system, I have been reading all the tutorials and documentation from the JADE home page, but I couldn't find anything that can help me with that. Someone can provide me some help or guidance about it? This make any sense? It is possible?
Thanks in advance and best regards,
Lisdey
Questo messaggio e i suoi allegati sono indirizzati esclusivamente alle persone indicate. La diffusione, copia o qualsiasi altra azione derivante dalla conoscenza di queste informazioni sono rigorosamente vietate. Qualora abbiate ricevuto questo documento per errore siete cortesemente pregati di darne immediata comunicazione al mittente e di provvedere alla sua distruzione, Grazie.
This e-mail and any attachments is confidential and may contain privileged information intended for the addressee(s) only. Dissemination, copying, printing or use by anybody else is unauthorised. If you are not the intended recipient, please delete this message and any attachments and advise the sender by return e-mail, Thanks.
Rispetta l'ambiente. Non stampare questa mail se non Ú necessario.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jade.tilab.com/pipermail/jade-develop/attachments/20140927/da79d093/attachment.html>