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] OntologyBeanGeneratorTab checkbox is not there

Pedro tophomer22 at hotmail.com
Sun Feb 4 02:02:19 PST 2007


- download and copy the file: protegeprojects.zip into your project directory
(this file contains the OWLSimpleJADEAbstractOntology project and the
OWLMusicShopOntology project). These are examples.
- open a new or existing Protégé project 
- include the OWLSimpleJADEAbstractOntology into your project. Select 
Metadata Tab
and use the button Import ontology... You can import the ontology from 
the web or from your local drive. Inside protegeprojects.zip or inside 
directory "projects" of your Beangenerator Plugin you could find the
OWLSimpleJADEAbstractOntology.
This ontology is necesary. After you import it you can check the plugin 
in Proyect>configure... menu.
- create concepts by making subclasses of the class [Concept], e.g. CD, Items. 
- create agentactions by making subclasses of the class [AgentAction], e.g.
Sell, Buy. 
- create agents by making subclasses of the class [AID], e.g. Seller, Buyer 
- create predicates by making subclasses of the class [Predicate], 
e.g. Owns,Contains 
- go to menu of Protégé: open project>configure... and select the
OntologyBeanGeneratorTab checkbox 
- select the Ontology Bean Generator tab 
- specify (or select from the combobox) a package name, e.g. mypackage.onto 
- specify (or select from the combobox or from the [...] button) a location
where the java files are to be created 
(make sure the directory exists) e.g. .../projects/mypackage/src/mypackage/onto 
- specify (or select from the combobox) a ontology name: e.g. Newspaper 
- press the generate button (old generated files will be overwritten) 
- import the the ontology files into your agent project 
- register the ontology in the agent 
- you (the agents) are ready to go!

I hope this will be usefull.





More information about the protege-discussion mailing list