OntoLing Tab Screenshots and User Manual

Index of Contents:

OntoLing Configuration

Using OntoLing


OntoLing Configuration:

Note for the impatient users: you can totally skip this intro if you want. It reports only some background knowledge about OntoLing. You can also skip the "Configuring the Linguistic Watermark" section if you installed the OntoLing FULL PACK distribution.

The Linguistic Watermark component is in charge of loading linguistic resources and of providing the interface methods for accessing their content. Together with the Automatic Enrichment Component, it is the sole part of OntoLing which requires configuration.

When the OntoLing plug-in is loaded, the Linguistic Watermark component scans the OntoLing folder looking for available linguistic interfaces. These interfaces come up in the form of jar files whose manifest contains the following entry:

LinguisticInterfaceClass: < classpath of the java class implementing the LinguisticInterface interface >

Much in the same way as Protege plug-ins, the Linguistic Watermark component is aware of the existence of available linguistic interfaces and is thus able to invoke their functionalities.


Configuring the Linguistic Watermark

The Linguistic Watermark configuration utility can be invoked by selecting, from the OntoLing menu appearing in Protégé, the Configure-->LinguisticWatermarkConfiguration option. A window will open (see figure below), listing the available linguistic interfaces (see notes in the intro):

LWConfiguratorMainPage.gif (12 KBytes)

By clicking on the different tabs, it is possible to access and edit the configuration settings for the various resources. In figure below, the configuration settings for the Dict Interface are showed.

Configuring the Linguistic Watermark (111 KBytes)

See User Manual of Linguistic Watermark for more details on LW configuration and of specific configuration parameters for the various resources


Loading a Linguistic Resource

The Linguistic Watermark loadiong utility can be invoked by selecting, from the OntoLing menu appearing in Protégé, the Configure-->Loader option. A window will open (see figure below), listing the available linguistic resources (those resources which can be accessed through any of the loaded linguistic interfaces):

Configuring the Linguistic Watermark (111 KBytes)


Accessing the Linguistic Resource

Different Linguistic Resources (LR) may be connected to Ontoling through the implementation of a proper wrapper, called a Linguistic Interface. Such a wrapper must conform to the general model described in the LinguisticWatermark package and implement those classes and interfaces which best suit the resource it is dedicated to.

When a LR's interface is being loaded, OntoLing parses its Watermark and expose those functionalities which are compatible with the resource's profile. As a consequence, the behavior of the whole application is dependant on the nature of the loaded resource and is thus defined at run-time.

For example, with a flatLR resource, a search on a given term will immediately result in a list of (potential) synonyms inside a dedicated box in the GUI; instead, with a conceptualizedLR resource, a list of word senses will appear in a results table at first, then it will be browsed to access synonymical expressions related to the specific, selected sense. Analogous adaptive approaches have been followed for many other aspects of the Linguistic Watermark (mono or bidirectional Bilingual Translators, presence of glosses, Taxonomical structures and so on…).

Users can browse the linguistic resource (LR) through the Linguistic Browser Panel (the panel on the left), using the following functionalities:

It is also possible to search for senses and synonyms of terms through the "search Linguistic Resource using Class/Slot Name" choice menu that can be accessed from the Classes or Slots views of the Ontology Panel (on the right).

searching LR by terms (114 KBytes)

Enriching the Ontology with terms from the linguistic resource

Frames of the ontology can be enriched with elements from the linguistic resource.

Using the context menu from the Ontology Panel (both class and slot views), it is possible to:

From version 2.0, Ontoling supports OWL ontologies, and thus provides two different modalities for enriching ontologies content, depending on the ontology model being adopted:

Protégé standard CLIPS model

As Protégé standard does not provide explicit specifications for adding more labels to its frames, in order to do so, users must:

The Terminology Slot can be choosen from a list represented in the Terminology Slot browser, containing all the String-valued slots from the given Ontology (apart from META-SLOTS). Users can create as many slots as needed (for example, to reflect labels for different idioms) and change them from the Terminology Slot browser during the different phases of ontology enrichment.

Glosses from the LR are added to the Documentation slot of every frame.

Protégé OWL model

The Terminology Slot is set by default to the rdfs:label property; In this case the xml:lang attribute of the label property is automatically filled with the language declared by the Linguistic Interface. However, for portability purposes, an optional compatibility with the standard model is maintained.

Glosses from the LR are added to the owl:comment property.

Indipendently from the availability of the above functionalities, which may depend on the nature of the loaded LR, those functionalities which are related to words/terms are enabled unless:

while those related to senses need a word sense to be selected from the Results Table (lower section of the Linguistic Browser Panel).

view of an OWL concept with a gloss added to owl:comment, two terms added as owl:labels and a wordnet synset reported as a label too. (130 KBytes)

Automatic Linguistic Enrichment Of Ontologies

From version 3.0 OntoLing helps the user in the process of enriching ontologies with natural language content. This functionality is only available if:

By clicking on the Start button (bottom-right corner of the Ontology Panel), the automatic enrichment process is activated. A dialog window like the one in the next figure will open:

Automatic Linguistic Enrichment of Ontology (116 KBytes)

In the current version, you should check the second option, all the ontological resources (classes and properties) will be analyzed for enrichment with respect to the linguistic elements present in the loaded linguistic resource. Once the enrichment process has been completed (a status bar appearing after a while should report on that), a new window will appear, like the one in figure below:

Automatic Linguistic Enrichment of Ontology (116 KBytes)

Through the window above, the user can cycle through the ontological resources and check the suggestions offered by the linguistic enrichment module. For each frame, he can accept the suggestion or take his own decision by manually enriching the frame through the already described options.

The enrichment process is driven by a component based on a generic "Enrichment Interface", describing functionalities for starting the enrichment process, getting plausibilities for the different enrichment suggestions etc... Typically, a component like that would need to be tuned according to some parameters for its algorithm and/or be configured for accessing required data. In the current version of OntoLing, the enrichment component is already configured and does not require any further setting.


Ontology Development through exploitation of Linguistic Resources

Other functionalities have been added to assist users in the process of ontology development:

Assisted Ontology Development (113 KBytes), creating ontology tree from a linguistic resource's taxonomy