VocBench Logo

Home Documentation Downloads Support About us

The Data View: Editing OWL Ontologies

Intro

This section describes the ontology editing functionalities available in VocBench. We will go through the set of functionalities as they appear in the various elements of the user interface.

The Class Section

When editing an OWL ontology, the landing page for the Data View is the Class Section.

The Class Section (as of all the data section) is composed of two main areas: the structure on the left, and the resource view on the right.

classPanel

The structure section of the Class-page

In particular, the structure section for the Class Page is composed of a Class Widget and an Instance Widget. The first one shows the tree of Classes in the current project, while the latter shows the list of instances for the class selected on the Class-tree Widget.

Available Actions on the Class-tree Widget

The following actions are available on the class tree through the three action buttons located on the top-left corner of the widget:

addInstCreate Class: creates a new class as a root element of the class taxonomy

op2 Add SubClass: adds a new class as a child of (rdfs:subClassOf) the selected class

op4  Delete Class: deletes the selected class (not possible for read-only classes);

Available Actions on the Individual Widget

addInstCreate Individual: adds an instance to the class selected in the class-tree;

op4  Delete Individual: deletes the selected individual ( not possible for read-only individuals);

The Class-view

The resource-view for classes (or, simply, class-view) is divided into a few sections listing the following information:

Adding a type

By clicking on the + button on the type section, it is possible to add a more specific type to class shown in the class-view.

adding a type

The property shown at the top of the dialog is hard-wired to rdf:type. However, in case the adopted vocabularies feature a subproperty of rdf:type, it is possible to refine the choice for the adopted properyt by clicking on the "change" button besides the rdf:type property.

adding a type

Adding an axiom

By clicking on the + button on the axioms section, it is possible to add a definitory relation with another class. A simple click on the addInstbutton will prompt a dialog for choosing the relation to be used, as in the following figure:

adding a type

while a click on an the + button on any already existing subsection of the "Class axioms" section, will directly reuse the property specified there, as in the following figure:

adding a type

where possible classes to be connected through the rdfs:subClassOf property are being shown by using a class-tree. By clicking on the "Manchester expression", it is possible to define an owl:Restriction instead of referencing an existing class, as in the following:

adding a type

resulting in the following view, where the Manchester expression for the restriction is properly rendered.

adding a type

Adding a Lexicalization

By clicking on the + symbol on the Lexicalizations section, it is possible to add different lexicalization for the class, in different languages.

adding a type

The Property Section

The Property Section (as of all the data pages) is composed of two main areas: the structure on the left, and the resource view on the right.

classPanel

The Structure Section of the Property Section

In particular, the structure section for the Property Section shows a widget listing all properties in the ontology.

Available Actions on the Property-tree Widget

The following actions are available on the property tree through the three action buttons located on the top-left corner of the widget:

addInstCreate Property: creates a new property as a root element of the property taxonomy

op2 Add SubProperty: adds a new property as a child of (rdfs:subPropertyOf) the selected property

op4  Delete Property: deletes the selected property (not possible for read-only properties);

The behavior of the various action buttons is very similar to the one for classes, except that the create button for properties opens a submenu that lets the user choose the core property type to be used.

adding a type

The Property-view

The resource-view for property (or, simply, property-view) is divided into a few sections listing the following information: