OwS Tutorial: Defining Custom Types
Zur Navigation springen
Zur Suche springen
Motivation
- Rationale
- In lesson 3 the OwS #heading directive was introduced as a means for deriving OwS object hierarchies from MS Word style sheets. Nevertheless you were still forced to place all property definitions into table which not gives an OwS document a very formal style but even requires a full restructuring of existing specification documents which you may want to turn into OwS documents.
- In this lesson you will learn how to assign property values by means of custom style sheets. By this OwS definitions look like prosa text which makes them more readable and gives you more flexibility in applying any layout to your OwS documents.
- What you need
- You should have worked through lesson 3 of this tutorial in order to have a basic understanding on how OwS utilizes MS Word styles sheets. Beside this you need your MS Word with the OwS macro installed.
- Example
- This example builds upon the storyboard introduced in Lesson 1 which is now given some more complexity:
- Storyboard: In order to foster semantic interoperability among its IT-systems a hospital wants to define unique terminologies for its clinics. Each clinic and each ward shall be assigned a unique code that shall be used throughout all IT-systems for referring to that clinic or ward.
After integrating the terminology with all internal systems, the hospital as well wants to make the information within the terminology available to external partners through its terminology server. Important information that needs to be added to the existing concept definitions is contact data for the clinics and wards.
Full Example
| Style Sheet | Text | Comment | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| OwS |
|
Comment | ||||||||||||||||
| OwS |
|
Comment | ||||||||||||||||
| OwS |
|
Comment | ||||||||||||||||
| OwS |
|
Comment | ||||||||||||||||
| OwS |
|
Comment | ||||||||||||||||
| OwS |
|
Comment | ||||||||||||||||
| OwS |
|
Comment | ||||||||||||||||
| OwS |
|
Comment | ||||||||||||||||
| OwS |
|
Comment | ||||||||||||||||
| Überschrift 2 |
|
Comment | ||||||||||||||||
| OwS.URI |
|
Comment | ||||||||||||||||
| OwS.Description |
|
Comment | ||||||||||||||||
| Überschrift 3 |
|
Comment | ||||||||||||||||
| OwS.Designation[Language=de] |
|
Comment | ||||||||||||||||
| OsW.Definition |
|
Comment | ||||||||||||||||
| OwS.ContactDetails |
|
Comment | ||||||||||||||||
| Überschrift 4 |
|
Comment | ||||||||||||||||
| OwS.Designation[Language=de] |
|
Comment | ||||||||||||||||
| Überschrift 4 |
|
Comment | ||||||||||||||||
| OntoDL.Designation[Language=de] |
|
Comment | ||||||||||||||||
| Überschrift 3 |
|
Comment | ||||||||||||||||
| OwS.Designation[Language=de] |
|
Comment | ||||||||||||||||
| OsW.Definition |
|
Comment | ||||||||||||||||
| OwS.ContactDetails |
|
Comment | ||||||||||||||||
| Überschrift 4 |
|
Comment | ||||||||||||||||
| OwS.Designation[Language=de] |
|
Comment | ||||||||||||||||
| Standard |
|
Comment |