![]() |
| Previous Top Next |
Tutorial |
In this tutorial, you will do the following:
| • | Create an OWL Lite ontology from scratch; |
| • | Create an OWL DL ontology from scratch; |
| • | Create a set of RDF resources based on the OWL DL ontology; |
| • | Create an RDF document that uses Dublin Core vocabulary to describe metadata associated with document-type resources. |
The OWL Lite and OWL DL ontologies you create are small ontologies that take you through the various features of SemanticWorks. After you have finished creating the ontologies, you will have learned how to use all the features of SemanticWorks you need to quickly construct any type of ontology. The RDF-document-creation part of the tutorial shows you how you can use the resources of an ontology to create and define RDF resources, and includes a tutorial that shows how to create an RDF document that uses the Dublin Core vocabulary.
Doing the tutorial
The OWL Lite and OWL DL parts of the tutorial start from scratch, so you do not need any file to start with and can start on these parts of the tutorial as soon as you have successfully installed SemanticWorks. The files created in these two parts of the tutorial are delivered in the folder: C:/Documents and Settings/<username>/My Documents/Altova/SemanticWorks2008/SemanticWorksExamples/Tutorial.
The OWL DL ontology used to create an OWL DL-based RDF document is the OWL DL ontology you will create in the OWL DL part of the tutorial. It is therefore better if you go through the OWL DL part of the tutorial before you do the part in which you create an RDF document based on this ontology. However, since the required ontology is available in the folder C:/Documents and Settings/<username>/My Documents/Altova/SemanticWorks2008/SemanticWorksExamples/Tutorial, you can start with the RDF document creation part if you like. The tutorial part for creating an RDF document based on the Dublin Core starts from scratch, so, again, you can start with this part right away.
It is best to do the tutorial in sequence, that is, starting with the creation of an OWL Lite ontology and ending with the creation of an RDF document that uses the Dublin Core vocabulary. The reason for this is that basic usage mechanisms and concepts are explained in detail and incrementally as you proceed in sequence. Before starting this tutorial, we also suggest that you read through the Interface section in the Introduction so as to familiarize yourself with the GUI and the terms used to describe it. Also, note that the screenshots in this tutorial draw the graphs in Detail View horizontally, from left to right; this is a setting made in the Options dialog.
About the ontologies and naming conventions
The OWL Lite ontology you will create is used to describe Altova products, while the OWL DL ontology describes Altova documents. These ontologies have deliberately been kept simple and small, so that you can concentrate on the usage mechanisms and become familiar with SemanticWorks, instead of being overwhelmed by the complexity of the ontologies.
In this tutorial we use the following naming conventions:
| • | Class names and instance names are capitalized (for example, Documents). If a class name consists of more than one word, the words are run together with each word capitalized (for example, ProductManual). |
| • | Property names start with a lowercase alphabet (for example, source). If a property name consists of more than one word, the words are run together with words subsequent to the first capitalized (responsibilityOf). |
Note about namespaces
The namespaces used for the AltovaProduct and AltovaDocument ontologies are fictitious; there are no ontologies or any other resource at the locations specified by the URIs in these namespaces.
|