• Aucun résultat trouvé

Making Ontology Documentation with LODE

N/A
N/A
Protected

Academic year: 2022

Partager "Making Ontology Documentation with LODE"

Copied!
5
0
0

Texte intégral

(1)

Making Ontology Documentation with LODE

Silvio Peroni1, David Shotton2, and Fabio Vitali1

1 Department of Computer Science, University of Bologna (Italy)

2 Department of Zoology, University of Oxford (UK)

essepuntato@cs.unibo.it, david.shotton@zoo.ox.ac.uk, fabio@cs.unibo.it

Abstract. In this demo paper we provide a brief overview of the main features ofLODE, theLive OWL Documentation Environment. LODE is an online service that generates a human-readable description of any OWL ontology, taking into account both the ontological axioms and the annotations, and ordering these with the appearance and functionality of a W3C Recommendations web page, namely as an HTML page with embedded links for ease of browsing and navigation.

Keywords: OWL ontologies, Web tool, ontology documentation

1 Introduction

Understanding the aim and extent of an ontology is one of the most important task of the Semantic Web. To this end, users usually start by consulting its human-readable documentation. A large number of ontologies, especially those used in the Linked Data world, have good comprehensive Web pages describ- ing their theoretical backgrounds and the features of their developed entities.

However, problems arise when we look at under-developed models, since nat- ural language documentation is usually only published once an ontology has become stable. This approach is justifiable: writing proper documentation costs effort, and re-writing it every time the developing ontology is modified is not practical. For this reason, tools for the automatic online generation of HTML documentation from ontologies – e.g. Parrot [5], the Ontology Browser3, Neol- ogism [1] – are critically important. Not only do they ease the task of creating effective ontology documentation, but they also enable this to be done earlier in the creation life-cycle.

In this paper we introduce the main features of LODE, the Live OWL Documentation Environment4[3], a tool we developed to address the issue of the automatic production of ontology documentation. LODE is an online service that takes any OWL ontology or, more generally, an RDF vocabulary, and generates a human-readable HTML page designed for browsing and navigation by means of embedded links.

3 OWLDoc-based Ontology Browser:http://owl.cs.manchester.ac.uk/browser/.

4 LODE, the Live OWL Documentation Environment: http://www.essepuntato.

it/lode.

for private and academic purposes. This volume is published and copyrighted by its editors.

(2)

The rest of the paper is structured as follows. In Section 2 we present LODE, highlighting its main characteristics and features, and in Section 3, we conclude the paper by sketching out the future developments of our work.

2 The Live Documentation Environment

LODE, theLive OWL Documentation Environment [3], is an XSLT-powered on-line service that automatically generates a human-readable description of an OWL ontology (or, more generally, an RDF vocabulary), taking into ac- count both ontological axioms and annotations, and presents these with the appearance and functionality of a W3C Recommendations document.

LODE automatically extracts classes, object properties, data properties, nam-ed individuals, annotation properties, meta-modelling (punning), general axioms, SWRL rules and namespace declarations from any OWL or OWL 2 ontology, and renders them as ordered lists, together with their textual and graphic definitions, in a single human-readable HTML page designed for easy browsing and navigation by means of embedded links. LODE can be invoked with a number of optional parameters so as to limit or extend the final documen- tation produced. For instance, it is possible to take into account all the entities in the ontology closure and/or the inferred axioms. The following pseudo-URL describes how to call LODE:

http://www.essepuntato.it/lode/optional-parameters/ontology-url Fig. 1 illustrates the alternative ways to build the URL to call LODE and the related modules used5. The main features of LODE are introduced in the following paragraphs.

Fig. 1.All the possible ways, according to specific needs, for making a request to LODE.

Single page of documentation. The entire documentation is displayed in a single HTML page that starts with the title of the document (dc:title or

5 Note that routine use of the optional parameter “owlapi” is strongly recommended.

(3)

rdfs:label) and then lists the metadata of the ontology, such as its IRI, authors (dc:creatorannotations), date of publication (dc:date), and imported ontologies (owl:imports axioms). A brief abstract (rdfs:comment) and an automatically- built Table of Content follow. Whendc:descriptionassertions are specified for the ontology, the section “Introduction” is created as the first item after the Table of Content. Then, LODE renders all the classes, object, data and an- notation properties, named individuals, general axioms and SWRL rules, and concludes the document with a list of the namespaces defined in the ontology.

Displays information about imported ontology. All the annotations and axioms defined in the imported ontology are fully rendered in the docu- mentation when one of the parameters “imported” or “closure” is specified.

Displays of axioms inferred by a reasoner. All the axioms inferable by Pellet [4] are fully rendered in the documentation when the parameter “rea- soner” is specified. However, this option has not yet been fully tested.

Axioms descriptions fully displayed. All the axioms and restrictions are rendered within each entity definition through the Manchester Syntax [2], as shown in Fig. 2a6.

Cool URIs to call the service. Any LODE URL built as shown in Fig. 1 is compliant with Tim Berners-Lee’s “Cool URI” definition7. This enables LODE to be used in conjunction with content-negotiation mechanisms, so as to produce HTML representations of ontologies and their entities automatically when accessing ontologies from a web browser.

Images can be included in the documentation.The annotation prop- ertydc:descriptioncan be used to refer to graphic files in addition to specifying simple text. In this case, LODE is able to render these graphic files as part of the documentation itself, as shown in Fig. 2a.

Permits choice of language in which to display the documentation.

The text of the documentation can be rendered in a specific language when the parameter “lang” is specified. The selected language will be used as preferred language instead of English (the default) to render the documentation, as shown in Fig. 2b. Of course, this presupposes that appropriate language annotations are present in the ontology.

3 Conclusions

In this demo paper we briefly overview the main features of LODE, the Live OWL Documentation Environment, our tool that automatically produces HTML documentation of OWL ontologies. We recently performed two differ- ent user evaluations so as to assess the usability of LODE when users use it to deal with ontology understanding and navigation tasks. Preliminary results,

6 The screenshots shown in Figure 2 of this paper refers to the documentation pro- duced by LODE for the Argument Model Ontology (http://www.essepuntato.

it/2011/02/argumentmodel).

7 Cool URIs don’t change:http://www.w3.org/Provider/Style/URI.

(4)

Fig. 2.Screenshots of the documentation produced by LODE. (a) The way the class

“argument” is rendered by LODE: its IRI, a brief abstract (rdfs:commentassertion), its axioms and a graphic representation (dc:descriptionassertion pointing to a PNG file) of the class itself. (b) The Argument Model Ontology rendered in English (pa- rameter “lang=en”) and Italian (parameter “lang=it”).

presented in [3], show that LODE is perceived as a usable tool that favourably compares with similar applications such as Parrot [5] and the OWLDoc-based Ontology Browser3. In the future, we plan to widen the evaluation of the out- comes of the aforementioned user testing sessions, and to extend LODE features to include suggestions highlighted by users, such as adding a tree-browsing ca- pability and a facetted free-text search box, thus significantly enhancing its usability for single ontologies in the one area in which LODE is presently lack- ing, search functions.

References

1. Basca, C., Corlosquet, S., Cyganiak, R., Fern´andez, S., Schandl, T. (2008). Neolo- gism: Easy Vocabulary Publishing. In Proceedings of the 4th Workshop on Script- ing for the Semantic Web. http://ceur-ws.org/Vol-368/paper10.pdf (last visited July 30, 2012).

2. Horridge, M., Patel-Schneider, P. (2009). OWL 2 Web Ontology Language: Manch- ester Syntax. W3C Working Group Note, 27 October 2009. World Wide Web

(5)

Consortium. http://www.w3.org/TR/owl2-manchester-syntax/ (last visited July 30, 2012).

3. Peroni, S., Shotton, D., Vitali, F. (2012). The Live OWL Documentation Envi- ronment: a tool for the automatic generation of ontology documentation. To ap- pear in Proceedings of the 18th International Conference on Knowledge Engineer- ing and Knowledge Management (EKAW 2012). http://palindrom.es/phd/wp- content/uploads/2012/05/lode-ekaw2012.pdf (last visited July 30, 2012).

4. Sirin, E., Parsia, B., Grau, B.C., Kalyanpur, A., Katz, Y. (2007). Pellet: A practical OWL-DL reasoner. In Journal of Web Semantics, 5 (2): 51-53. DOI:

10.1016/j.websem.2007.03.004.

5. Tejo-Alonso, C., Berrueta, D., Polo, L., Fernandez, S. (2011). Metadata for Web Ontologies and Rules: Current Practices and Perspectives. In Proceedings of the 5th International Conference on Metadata and Semantic Research (MTSR 2011).

DOI: 10.1007/978-3-642-24731-6 6.

Références

Documents relatifs

Given an input ontology O, MORe identifies a part of the classification of O that can be computed using the EL reasoner and limits the use of the OWL reasoner to a fragment of O

This application has been developed based on a prototype that en- ables business users to author, in a controlled natural language, execute and manage their Business Rules over

Given an input query Q, three steps are performed at query answering time: (i) query rewriting, where Q is transformed into a new query Q 0 that takes into account the semantics of

Our aim is to build an OWL (Ontology Web Language)[4] ontology for quan- tum mechanics which will model the main concepts that appear in the theory and can be useful in the

In the sense that an attribute is really a kind of association (just as both data types and object types are properties), translating these kind of invariants is the same

Step 2: Constructing an Evidential Network: Given an OWL ontology, we translate it in a DAG by specifying the different nodes to be created as well as the relations existing

The “Shape” taxonomy is an attempt to face this problem providing a class for each type of shape and several classes for each specific shape; where required, an equivalence re-

3.4 Temporal Arguments as Extra Arguments So far, our approach has argued for a direct encoding of the temporal extent through two further arguments, turning a binary relation, such