Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

1 Introduction

Ontologies are not only the backbone of the Semantic Web but increasingly used in many different contexts. More and more people in modern knowledge societies get in contact with ontologies as a means to structure and organize information. This requires a new generation of tools that enable not only experts but also non-experts to work with ontologies. Visualizations play a key role in this context, as they can assist users in reading and understanding ontologies.

While several visualizations for ontologies have been developed in the last couple of years, they either focus on specific ontology aspects or are hard to interpret for non-expert users. The silver bullet would be an ontology visualization that is equally comprehensive and comprehensible. It must be easy to read and printable but also provide intuitive means to interactively explore ontologies.

Having these goals in mind, we developed the Visual Notation for OWL Ontologies (VOWL) that provides a well-specified visual language for the user-oriented representation of ontologies. It defines graphical depictions for a large part of the Web Ontology Language (OWL) that are combined to a graph visualization representing the ontology. This paper presents ProtégéVOWL, a first implementation of VOWL realized as a plugin for the ontology editor Protégé.

2 Related Work

Many ontology visualizations focus on the representation of certain aspects of ontologies. Examples are OWLVizFootnote 1, OntoGrafFootnote 2, KC-Viz [10], OWLPropVizFootnote 3, and the RelFinder [7] that visualize either the class hierarchy of ontologies or selected property relations. This is similar in approaches that use special types of diagrams to depict ontologies, such as treemaps [5, 12], nested graphs [12], or cluster maps [4]. While these visualizations are partly very usable, they are limited to ontology aspects that can be expressed with the respective diagram types.

A very powerful type of diagram related to OWL and often reused to visualize ontologies is the class diagram of the Unified Modeling Language (UML). Examples of OWL tools that make use of UML class diagrams are the Visual Ontology Modeler (VOM)Footnote 4 or OWLGrEd [2]. Mappings between OWL elements and UML class diagrams are precisely defined in the Ontology Definition Metamodel (ODM) published by OMGFootnote 5. However, while class diagrams are well-known to many people working in IT, they are less familiar to people from other domains who usually find it difficult to interpret these diagrams [11].

Most closely related to VOWL are works that use graph visualizations to represent ontologies. Examples are TGViz [1], NavigOWL [8], GrOWL [9], and SOVAFootnote 6. All these tools provide force-directed graph layouts resulting in appealing visualizations. TGViz, OntoGraf, and NavigOWL use simple notations with little visual variation, making the different OWL elements hardly distinguishable. In contrast, GrOWL and SOVA define more elaborated notations consisting of various symbols, colors, and node shapes. However, they are designed for users with expertise in description logic and related formalizations.

3 Visual Notation for OWL Ontologies (VOWL)

The main goal of VOWL is to provide a visual language that can also be understood by users less familiar with ontologies. We therefore avoided to use formal symbols to represent OWL constructs, like in GrOWL or SOVA. Instead, we designed visual elements that are more intuitive and easy to use. They are based on only a handful graphical primitives forming the alphabet of the visual language: Classes are depicted as circles that are connected by lines representing the property relations, while property labels and datatypes are shown in rectangles. The visual elements are combined into a graph visualization representing the ontology and being arranged in a force-directed layout.

Some OWL elements are treated in a special way to increase the readability of the visualization. For instance, the predefined classes owl:Thing and rdfs:Resource usually do not carry domain information. They are multiplied and depicted in smaller size in order to give them less prominence in the visualization. Similarly, rdfs:datatype and rdfs:literal are shown multiple times so that datatype properties are arranged radially around the classes they are connected with.

In addition, VOWL defines a color scheme for a better distinction of the different elements. The colors are described in an abstract way leaving room for customization, while concrete colors and color codes are recommended by VOWL. However, colors are not required in order to use the visualization but it is also understandable when printed in black and white or read by color-blind people. Details that rely on color, such as the subtle distinction of owl:Class and rdfs:Class may be added as text information in these cases. The complete VOWL specification is publicly available at the persistent URL http://purl.org/vowl/spec.

4 ProtégéVOWL

ProtégéVOWL implements version 2.0 of the VOWL specification to a large extent. Like the specification, it focuses on the visualization of the ontology schema (i.e. the classes, properties and datatypes, sometimes called TBox), while it does not consider individuals and data values (the ABox) for the time being. ProtégéVOWL is based on Java and deployed as a JAR file that has to be copied to the plugins folder of the Protégé installation. It is released under the MIT license and available for download at http://vowl.visualdataweb.org.

Figure 1 shows a screenshot of ProtégéVOWL depicting revision 1.35 of the SIOC Core OntologyFootnote 7. The user interface consists of three parts: The VOWL Viewer displaying the ontology visualization, the VOWL Sidebar listing details about the selected element, and the VOWL Controls allowing to adapt the force-directed graph layout.

Fig. 1.
figure 1

ProtégéVOWL consists of the ontology visualization, a sidebar and control panel.

VOWL Viewer: ProtégéVOWL uses the visualization toolkit Prefuse [6] to render the visual elements and to arrange them in a force-directed graph layout. It accesses the internal ontology representation provided by the OWL API of Protégé and transforms it into the data model required by Prefuse. The OWL elements are then mapped to the graphical representations as specified by VOWL and combined to a graph. Prefuse uses a physics simulation to generate the force-directed graph layout, consisting of three different forces: edges act as springs, while nodes repel each other and drag forces ensure that nodes settle [6]. The forces are iteratively applied resulting in an animation that dynamically places the nodes. Users can smoothly zoom in to explore certain ontology parts in detail or zoom out to analyze the global structure of the ontology. They can pan the background and move elements around, which results in a repositioning of the nodes by animated transitions according to the force-directed layout.

VOWL Sidebar: If an element is selected in the visualization, details about it are shown in the sidebar, such as for the selected class sioc:UserAccount in Fig. 1. The details are provided by the OWL API and include the URI of the element and comments added to it, among others. URIs are displayed as hyperlinks that can be opened with a web browser or other tools for further exploration.

VOWL Controls: The repelling forces of classes and datatypes are adaptable with the two sliders in the VOWL Controls. This allows to fine-tune the force-directed layout in accordance with the size and structure of the visualized ontology. Since datatypes have a separate repelling force, they can be placed in close proximity to the classes they are connected with—to emphasize their radial arrangement and further increase readability. In addition, the layout animation can be paused via the VOWL Controls. This does not only reduce processor load but can also be useful to manually adapt, copy, and print the visualization.

5 Evaluation and Future Work

We conducted a small user study in which we compared ProtégéVOWL with the SOVA plugin for Protégé, which is conceptually and technically most closely related to ProtégéVOWL (see Sect. 2). We recruited six participants that were familiar with the idea of ontologies but would not consider themselves ontology experts. We presented them both ProtégéVOWL and SOVA in alternating order. They had to solve 16 different tasks with the tools (eight with each) using two ontologies of different size (MUTOFootnote 8 and FOAFFootnote 9). The tasks were related to different aspects of ontologies, such as the approximate number of classes or whether any class is equivalent to a given one. Finally, the participants had to rate both tools with regard to the perceived intuitiveness and ease-of-use.

All six participants preferred ProtégéVOWL over SOVA. They considered the VOWL notation to be more clear and liked the clean layout of the visualization. They also found it easier to distinguish different OWL elements and to understand how they are related. Overall, the results suggest that ProtégéVOWL does provide a comparatively intuitive and usable ontology visualization that can also be understood by users without much expertise in ontologies. However, this needs to be further validated in a more comprehensive user study in the future.

Apart from that, we plan to integrate more features into ProtégéVOWL. In particular, we would like to enable the representation of individuals and find more compact visualizations for very large ontologies. Furthermore, we are currently working on a web implementation of VOWL based on JavaScript and SVG and using the visualization library D3 [3]. A first prototype is available along with ProtégéVOWL at http://vowl.visualdataweb.org.