Ontology Project Wizard - universAAL/tools.eclipse-plugins GitHub Wiki

Role and benefits of this tool

The Ontology Project Wizard makes it easy for a developer to get started developing an ontology, by setting up a valid Eclipse project containing a UML model with the correct structure and template content typically used for ontologies in universAAL. The wizard lets the developer enter the name and package / name-space information for the ontology, and uses these values to set up both the initial content of the UML model and the Maven project file.

This wizard is similar to the Project and Item Wizards in setting up a Maven project for universAAL, but the content created in the project is specifically for modelling of ontologies.

While the use of the wizard is not mandatory, setting up a similar project without the tool requires several manual steps that can be error-prone and time-consuming (including creating an Eclipse project, adding a Maven POM file, creating a Papyrus model file, and setting up the initial content and references of the model).

Overview of functionality

The Ontology Project Wizard can be started by selecting "Create a new Ontology Project" from the universAAL Studio menu in Eclipse. The wizard is also available from "New" / "Project..." under the File menu in Eclipse.

The first page of the wizard lets you select the name and packaging of the ontology project and the associated Maven file. If you keep to regular naming conventions, you need only to specify the name of the ontology and the name of the parent Java package (not including the ontology name). As long as "Use derived values" is selected, the project name, ontology namespace, Maven group id and Maven name will be derived from the entered ontology name and parent package. If you want to change any of these directly, "use derived values" must first be deselected. The two last fields to fill in are the Maven version number and the optional textual description to include in the Maven POM file. The first page of the wizard is shown below.

The second page of the wizard shows a list of the upper ontologies that will be imported into the model, and gives instructions on how to import other ontologies from the modelling tool. To proceed to creating the project, select "Finish".

Once the wizard has been completed, it will create a new Eclipse project that will a Maven POM file and three model-related files. The model files are the UML model (.uml), the diagrams (.notation), and the main Papyrus file with information about open windows (.di). To open the model, double-click on the .di file. More information about the modelling can be found in the Ontology Modelling section.

Known remaining limitations and problems

Some values from the dialog are only used to generate POM, and are not not stored in the UML model.

⚠️ **GitHub.com Fallback** ⚠️