Difference between revisions of "Logical Difference Vizualiser (LogDiffViz)"

From Protege Wiki
Jump to: navigation, search
Line 4: Line 4:
|DeveloperID1=William Gatens
|DeveloperID1=William Gatens
|LastUpdated=September 12, 2011
|LastUpdated=September 12, 2011

Revision as of 16:15, September 12, 2011

Logical Difference Vizualiser (LogDiffViz)

by William Gatens


Type Tab, View
Author(s) William Gatens
Last Update September 12, 2011
License not available
Homepage not available
For Application

Logical Difference Visualizer (LogDiffViz) is a plugin for Protege-OWL

Versions & Compatibility

This section lists available versions of Logical Difference Vizualiser (LogDiffViz).

VersionCompatible withDependencies
Logical Difference Vizualiser (LogDiffViz) 0.1.0Protege-OWL 4.1Linux Operating System

If you click on the button below to add a new version of Logical Difference Vizualiser (LogDiffViz), you will be asked to define a page title for the new version. Please adhere to the naming convention of Logical Difference Vizualiser (LogDiffViz) X.X.X when you define the new page!


The LogDiffViz Plugin allows users to perform a logical difference computation between two ontologies, and allows users to view the results within the Protege-OWL editor. A logical difference computation aims to calculate the difference between two ontologies taking into account the semantic meaning of the underlying description logics on which ontology languages are built, rather than syntactical or structural differences. The theoretical background for this approach is described in a paper The Logical Difference Problem for Description Logic Terminologies by Boris Konev, Dirk Walther and Frank Wolter

Internally the LogDiffViz plugin uses a tool called CEX2 which does the core computation in the logical difference visualisation process (the plugin is simply a front-end to the CEX tool). More information about the CEX tool can be found at [1]

NOTE: The LogDiffViz plugin is a experimental prototype plugin and is by no means stable or guaranteed to work for every ontology. For details please see the below

How to use it

Visualizing a logical difference computation

The basic steps of visualising a logical difference computation between to ontologies:

  1. Enable the LogDiffViz tab: Window > Tabs > Logical Difference Visualizer
  2. Open the Control Panel from the menu: Tools > Difference... Visualization
    1. Select and load an ontology into the first box
    2. Select and load an ontology into the second box
    3. Choose a signature option (see below)
    4. Press "Visualize"

You should now get a display of the logical difference visualization. The two ontologies you selected will be loaded into the top half of the tab and the logical difference will be loaded into the bottom half. Each ontology (and differences) takes on a tree like structure so you can navigate the axioms of the ontology by expanding and collapsing the tree.

Signature Options

A signature is the union of concept and role names for a given ontology and can be used generate a logical difference computation based on a particular set of concept and role names, rather than simply generating an arbitrary set of differences.

Using the control panel you can choose which signature will be used either:

  • The signature of the first ontology
  • The signtaure of the second ontology
  • A "shared" signature - The intersection of the signature of the first and second ontologies
  • A custom signature - which can be any subset of the complete signature - generated by the signature tool found in the "Tools" menu

Toolbar Options

Axiom Pinpointing (Explanations)

To see why a particular generated difference (to perform axiom pinpointed based on a particular difference axiom) has been calculated between two ontologies:

  1. Ensure you have a reasoner configured and started (tested with HermiT and FaCT++).
  2. Select a leaf node of the "Differences" ontology tree
  3. Press the green arrow on the toolbar

The minimal pinpointing set (explaination of axioms) will now be highlighted on the original source ontologies in the top half of the logical difference tab.

Signature Overview

To see what signature was originally selected after calculating the logical difference press the sigma (Σ) button on the toolbar.

Limitations and known issues

  • Only currently works on the Linux operating system
  • Limited to ontologies supported currently by CEX ("acyclic ELHr terminologies, i.e. EL terminologies with additional domain restrictions, range restrictions, and (simple) role inclusions")
  • Axiom pinpointing only currently works with ontologies in the KRSS format (OWL ontologies need to be converted)


Click for larger image

Control Panel
Main Panel
Axiom pinpointing