As an anonymous user, you can only add new data. If you would like to also modify existing data, please create an account and indicate your languages on your user page.

Help:Class

From OmegaWiki
(Redirected from Class)
Jump to: navigation, search

What is a class?[edit]

A class defines a group of concepts that share common attributes. For instance, Belgium, Italy and Monaco belong to the class country, which makes possible to enter the following class-specific attributes: "capital", "currency", "official language", ...

Often, the elements of a class are hyponyms or instances of that class. However, this should not be mixed with the hypernym relationship which indicates direct hypernymy.

Also, classes should not be mistaken with topics.

How to create a class[edit]

In OmegaWiki, in the community dataset, a new class is created by adding the DefinedMeaning for the class to the Community Database class (link) collection, by selecting it in the list under the Collection membership header. After the DefinedMeaning is added to this collection, it will be possible to define attributes to the new class.

How to add attributes to the class[edit]

There are several types of annotations you can make:

  • DefinedMeaning - this type is used to refer to a DefinedMeaning. The text will be shown in the language as defined in the user interface when we have a translation
  • Link - This allows for creating a link to an external website. It is expected that a specific link will always go to the same website
  • Option list - This is a list where you can create a list with values that are based on the specific language.
  • Plain text - This is just text
  • Translatable text - Here you have to specify in what language a text is. You can add translations.

Where to annotate[edit]

  • When you annotate on the DefinedMeaning, the annotation will be specific to the concept.
  • The annotation for an Expression will typically include information that is specific for either the language or for the specific Expression.


Existing Classes[edit]

Presently used classes and translation status for each language can be found in this list of existing classes.