Namespaces and Imports section

Namespaces and Imports

The Namespaces and Imports page allows users to set prefix-namespace mappings, to owl:import ontology vocabularies and to edit the ontology mirror, a local mirror of ontologies stored within

namespace and imports

Namespace Management

The namespace management section allows for two operations:

Imports

Please notice that the operation described in this section allows the users to owl:import an ontology, that is to state that the ontology being edited in VB depends on the content of another ontology and thus has to import its content. If the intent is instead to load the data that has to be edited inside the project, then the load data functionality from the Global Data Management menu should be selected.

The imports panel in the Namespace and Imports section allows the authorized user to owl:import ontology vocabularies into the current project. The menu offers five options, as in figure below:

import menu

The options refer to the source where to look for the ontology

In the following example, the FOAF ontology is being imported, and stored in the mirror as file foaf.rdf

importing the FOAF ontology

The other options are the following:

After the ontology has been imported, it will be added to the tree of imports in the Imports section and its content will be visible, with a lighter color, in the various data views. In the figure below, the classes of the FOAF ontology are visible in light orange. The lighter color means that they are read-only elements.

import menu

Failed imports

It can happen that a transitive import of an imported ontology cannot be imported (usually, from the Web) nor it is satisfied by an already imported ontologies. Such an import is dubbed a "failed import", and it is marked with a red cross in the imports tree.

failed imports

On the right of a failed import, there is a button with a warning icon, which can be clicked to show a menu with various repair options. These differ mainly in the source of the ontology, with alternatives corresponding to analogous import options.

Import update

All ontology imports (including transitive ones) can be updated, replacing the local copy of the ontology inside the project with a new one. Clicking the downward pointing arrow to the right of each import brings up a menu with different update options for different sources (just like the different import options). The differently named option "Connect to project" allows the user to update the ontology with the content of another project.

import update

An import that is already associated with a project can be updated from the source project or from another project. Alternatively, it can be disconnected from the project, making the general update options available.

project import update

When an import is updated, its owl:imports are compared to the previous ones:

Ontology Mirror Management

After ontologies have been imported, if they have been also stored in the mirror, they will be listed in the Ontology Mirror Management panel (figure below) accessible by clicking on the Ontology mirror button in the heading of the Imports panel.

importing the FOAF ontology

For each entry in the mirror, it is possible to delete the mirror file or update its content, with options analogous to those present in the Import menu.