LoaWiki:DesignPatternRepository
From LoaWiki
Contents |
Situation
Intent
This pattern can be used to model situations (situated contexts) and the entities that are in the setting provided by those situations.
The pattern is specialized from the http://www.loa-cnr.it/ontologies/DUL.owl.
Examples
Lectures are only given by professors in the plenary on Monday.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/situation.owl
Part-of
Intent
This pattern can be used to model simple transitive part-whole relations between two entities.
The pattern is specialized from the http://www.loa-cnr.it/ontologies/DUL.owl.
If you need to talk about part-whole with time indexing, use the Time-indexed part of pattern.
Examples
My leg is part of my body.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/partof.owl
Time-indexed part of
Intent
This pattern can be used to model part-whole relations that hold at some time. The pattern is a specialization of the Situation pattern.
Examples
E.g. Savoy is part of France in 1900.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/timeindexedpartof.owl
Participation
Intent
This pattern can be used to model simple participation relations, involving just one object and one event.
The pattern is specialized from the http://www.loa-cnr.it/ontologies/DUL.owl.
If you need to talk about participation with more objects or events, or with time indexing, use the N-ary participation pattern.
Examples
John walks.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/participation.owl
Co-participation
Intent Code
The pattern is useful in order to talk e.g. of linguistic 'thematic roles' and most verb-based concepts, such as 'meets', 'funds', 'loves', etc.
The pattern is extracted from http://www.loa-cnr.it/ontologies/DUL.owl.
If time indexing is needed, you can use or specialize the N-ary participation pattern.
Examples
John loves Mary.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/coparticipation.owl
N-ary Participation
Intent
This pattern can be used to model participation-like situations, involving not just one object and one event, but several objects, events, time intervals, etc.
The pattern is specialized from the Situation pattern.
Examples
John and Mary began their relationship on June 12th 2007, and had a crisis on June 13th.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/naryparticipation.owl
Agent Role
Intent
This pattern can be used to model roles played by agents.
The pattern is extracted from http://www.loa-cnr.it/ontologies/DUL.owl.
If time indexing is needed, you can use or specialize the "classification" pattern.
Examples
John is the supervisor for Mary.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/agentrole.owl
Role Task
Intent
This pattern can be used to model relations between roles (of objects) and tasks to be done (through events).
The pattern is specialized from the http://www.loa-cnr.it/ontologies/DUL.owl.
Examples
Researchers must provide a yearly report of their work.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/taskrole.owl
Collection Entity
Intent
This pattern can be used to model collections as individuals, and membership as an owl:ObjectProperty.
The pattern is useful in order to talk directly about collections.
The pattern is extracted from http://www.loa-cnr.it/ontologies/DUL.owl.
If time indexing is needed, you can use or specialize the "classification" pattern.
Examples
Qatar is one of the Arab League states. A main goal of the Arab League is to draw closer the relations between member States.
Diagram
Source Code
http://www.loa-cnr.it/codeps/owl/collectionentity.owl
Information Realization
Intent
The pattern is useful in order to talk of information as realized in concrete objects or events: paper documents, pixels, sounds, videos, etc.
The pattern is extracted from http://www.loa-cnr.it/ontologies/DUL.owl.
If time indexing is needed, you can use or specialize the Situation pattern.
Examples
The original of Munch's Cry has been stolen.
Diagram
Source Code










