Lab: OWL 2

From info216
Revision as of 15:45, 21 March 2023 by Sinoa (talk | contribs)

Topics

  • Basic OWL ontology editing in Protégé.
  • WebVOWL visualisation.

Useful materials

Readings:

 * Installation
 * Getting Started
 * (An online version, Webprotégé, is also available, but we recommend that you download the Desktop version and run it locally.)

Vocabularies and terms (from S09):

Tasks

Task. Follow the Protégé 5 Installation instructions to download and install Protégé Desktop.

Task. Go through the Protégé 5 Getting Started advice to learn the basics of Protégé Desktop.

Task. Create a new Investigation Ontology that can be used to represent the Mueller Investigation, as well as other public investigations. Use the experience from earlier exercises. For example, the ontology can include these top-level classes:

  • Investigation
  • Person

Subclasses of Person can be

  • Investigator
  • InvestigatedPerson

A subclass of Investigator can be InvestigationLeader.

Task. Connect your classes to at least one class from a well-known ontology, for example foaf:Person. There are three ways you can do this do this:

  1. use foaf:Person instead of "your own" Person class;
  2. make "your own" Person class an rdfs:subClassOf foaf:Person; or
  3. make "your own" Person class owl:equivalentClass to foaf:Person.

Alternative 2 is most common but all are ok.

Task. Create or import data properties for

  • investigation title and description;
  • person names; and
  • investigation start and end times.

Task.

  • Create or import object properties for stating that a person is involved in an investigation.
  • Create subproperties of involved in for stating that a person can be indicted in, investigating, or leading an investigation.

Task.


If you have more time

You can add a lot more classes (types) and relations (object properties) to your ontology. For example:

  • InvestigationTeam, which has all the Investigators as members