Object Properties

EXERCISE: Domains and Ranges

Got to the domain-range folder and follow the instructions below. This introduces the concepts of ‘domains’ and ‘ranges’ on object properties.

In this exercise, we will illustrate how object properties can be used to subclassify classes that are restricted by them.

  1. Create a new ontology.
  2. Add the following class hierarchy:

depressor mandibulae muscle leveator quadrati muscle nerve facial nerve trigeminal nerve

_images/Figure77.png

  1. Add the following:
  • An object property named ‘is_innervated_by’

_images/Figure78.png

  • Add a domain on ‘is_innervated_by’ - ‘muscle’

_images/Figure79.png

  • To ‘depressor mandibulae muscle’ a subclass restriction ‘is innervated_by some ‘facial nerve’’

_images/Figure80.png

  • To ‘leveator quadrati’ a subclass restriction ‘is innervated_by some ‘trigeminal nerve’

_images/Figure81.png

  1. Now run the reasoner and inspect the inferred class hierarchy. You should see a new classification under the ‘muscle’ class.

_images/Figure82.png