As mentioned above, we want a
Columnist to be an
Employee. Since we have already created the
Columnist class, we do not create want to create it again. Instead, we make the existing
Columnist class a subclass of
Employee as follows:
- Select Columnist in the Class Browser.
- Find the Superclasses pane at the bottom left of the Protege window, under the Class Browser. Notice that when Columnist is selected, the current superclass of Columnist, Author, is displayed in the Superclasses pane.
- Click the Add Superclass
button at the top right of the Superclasses pane. A Select Classes dialog box displays all the classes you have created so far, organized in the class hierarchy.
- Highlight Employee and click OK. Columnist now has two superclasses: Author and Employee. Both superclasses are shown in the
Superclasses pane.
- Note that an icon
has appeared to the left of Employee. Click this icon to expand the children of Employee. Columnist now appears in two places in the Class Browser: once under Author and again under Employee.