Bringing the Semantic Web closer to the User

Bringing the Semantic Web closer to the User

Richard Vdovjak, Peter Barna, Geert-Jan Houben, and Flavius Frasincar
Eindhoven University of Technology
P.O. Box 513, NL-5600 MB Eindhoven, the Netherlands
{ richardv, pbarna, houben, flaviusf }@win.tue.nl

Keywords

RDF(S), Semantic Web, RQL, User Interface

1. INTRODUCTION

As the current Semantic Web (SW) activities focus mainly on making the Web machine understandable, the end-user needs are often neglected. Providing an appropriate entry point for the end-user to the technologies introduced by the SW activity would be beneficial both for the end-users and the SW developers. Taking advantage of the semantic descriptions available on the SW end-users would achieve for instance much better search results and the SW developers would get a real-life feedback which is necessary for shaping and improving SW applications.

To bring the advantages of the SW to the end-user, one clearly needs an interface which would allow the user to explore, browse, and query the content he is interested in. RDFS [1] is an acknowledged backbone of the SW architecture. We argue that due to its peculiarities a new interface metaphor is needed to convey RDFS-based ontologies to the end-user in a comprehensible form. In this work we present such a metaphor and its implementation called EROS (Explorer for DFS-based OntologieS).

2. VISUALIZING RDFS

The problem of visualizing RDFS lies in the fact that it is difficult to show the whole expressive power of RDFS and at the same time to keep the user interface (UI) still comprehensible, easy to use, browse and navigate.

The two main approaches currently used, the tree-based approach and the graph-based approach (e.g. used in [4] and [3], respectively), do not in our opinion address the above issues completely. The tree metaphor, though very familiar as UI, does not help the user in grasping other concept relationships than that used to construct the tree structure (most of the time being the subClassOf relationship). The graph metaphor, on the other hand, displays all concept relationships but as a result introduces the full complexity of a directed labeled graph in which is very difficult to spot the hierarchical structure of the ontology "hidden" behind the special edges and not reflected by the position of the class nodes.

Combining the advantages of the two mentioned UI metaphors, one would desire the simplicity of a browsable tree and at least a part of the expressiveness of the graph based approach. This is exactly what we tried to achieve by the EROS interface.


Figure 1
The EROS interface: Class-centric view, Property-centric view

3. THE EROS INTERFACE

The main idea behind this interface is to consider RDF properties as partial mappings that relate some elements (classes) from the class hierarchy into other (possibly identical) elements within the same hierarchy. Note that the set of all elements from the hierarchy serves two purposes: firstly as a (potential) domain of all properties and later as their (potential) range. This double purpose inspired us to have two identical hierarchy trees in our interface, the left tree being the domain ("from") tree, and the right tree being the range ("to") tree. Properties themselves are depicted as arrows connecting the classes from the left / domain tree with the classes from the right / range tree. In this approach one can display for a certain property at the same time both the context (the neighboring class hierarchy) of the domain class and the context of the range class. Cases of multiple inheritance are handled by displaying a list of super classes for the currently selected class. This approach, illustrated in Figure 1 (left) can be considered as "class-centric" since the key transitive property on which both trees are built is the subClassOf relation.

Properties in RDFS are first-order citizens; if the user prefers to view the ontology with the "property-centric optics" and desires to explore the tree hierarchy based on the relation subPropertyOf the EROS interface can easily accommodate this demand by imposing that the left tree hierarchy is built based on the subPropertyOf relation, while the right tree (still hierarchically based on subClassOf) represents the domains and ranges of the properties from the left tree as depicted in Figure 1 (right).

In fact, EROS can go even further by allowing the user to adapt the interface to his needs by choosing an arbitrary transitive (from the user's point of view) property as a key for building the left tree and align it with the right (subClassOf) tree. One can, for instance, choose to base the left tree hierarchy on the wordnet:hypernym relation and study the (possibly subtle) differences between the two tree hierarchies and also their mutual relations in terms of properties which connect resources from one tree to another. This feature comes at hand especially in issues like integrating or aligning ontologies, which is a complicated process and EROS can (partially) offer support for this.


Figure 2
Figure 2: The EROS interface: Query Building Mode

4. QUERY GENERATION SUPPORT

When in query mode, the EROS interface, guides the user in building RQL [2] queries, i.e. specifying the SELECT-FROM-WHERE clauses. A new query formulation starts with a FROM part where the EROS interface assists the user in the formulation of a single or chained path expressions. EROS allows the user to generate these expressions by selecting a node in the graph (a variable of a certain type), then selecting a property of the chosen node that navigates the user to the destination node (again a variable). If the destination node is not of a literal type, the user can choose another property of that node traversing the graph further (building a chained path expression) or he can create a new path expression concatenating it with the previous ones.

Filling in the SELECT clause consists of choosing variables that are of interest from the list of variables introduced in the FROM clause. Similarly to the SELECT clause, the WHERE clause starts by selecting variables bound in the FROM clause and then building a Boolean expression by utilizing an offered list of appropriate operators. The queries that can be built in this way do not cover the entire expressive power of RQL, yet they represent a large class of practical queries for ontology exploration and data retrieval. Figure 2 depicts the query building mode in EROS.

5. CONCLUSIONS

Essential in the use of the Semantic Web are the ontologies, often expressed in RDFS. They help to organize the resources in terms of their semantics, and thus offer a nice specification of the semantics of the entire application. However, for many applications this specification in terms of ontologies needs to be used by humans. The end-users employ such ontologies to search for terms and to mentally reason about these terms. Before they are constructing actual queries on the RDF metadata they need to familiarize with the ontology. For this purpose an effective visual representation of ontologies is vital. We addressed this issue providing a portable and light-weight visual interface in which the user is able to view the ontology both from the viewpoint of classes and that of properties. This interface also assists in the generation of RQL queries. EROS is deployed in the form of a Java Web application which downloads on the client's machine; the size of the whole package is approximately 350 Kb.

6. REFERENCES

  1. Dan Brickley and R.V. Guha. RDF Vocabulary Description Language 1.0: RDF Schema. Technical Report WD rdf-schema, World Wide Web Consortium, 2003. http://www.w3.org/TR/WD-rdf-schema.
  2. Gregory Karvounarakis, Vassilis Christophides, Dimitris Plexousakis, and Sofia Alexaki. Querying RDF Descriptions for Community Web Portals. In 17iemes Journees Bases de Donnees Avancees, pp. 133-144, 2001.
  3. Alexander Maedche, Boris Motik, Ljiljana Stojanovic, Rudi Studer, and Raphael Volz. Ontologies for Enterprise Knowledge Management. In IEEE Intelligent Systems, January/February 2003.
  4. Natalya F. Noy, Sintek Michael, Stefan Decker, Monica Crubezy, Ray W. Fergerson, and Mark A. Musen. Creating Semantic Web Contents with Protege-2000. In IEEE Intelligent Systems , 16(2):60-71, March/April 2001.