LoaWiki:DesignPatternRepository

From LoaWiki

Jump to: navigation, search

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

Image:situation.jpg

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

Image:partof.jpg

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

Image:timeindexedpartof.jpg

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

Image:participation.jpg

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

Image:coparticipation.jpg

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

Image:naryparticipation.jpg

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

Image:agentrole.jpg

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

Image:roletask.jpg

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

Image:collectionentity.jpg

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

Image:informationrealization.jpg

Source Code

http://www.loa-cnr.it/codeps/owl/informationrealization.owl

Personal tools