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:Adding a collection

From OmegaWiki
Jump to: navigation, search

Intro[edit]

This page explains how to define a new collection.

This is done with the special page Special:AddCollection, which is only available to sysops.

What is a collection?[edit]

A collection is basically a set of DefinedMeaning that share a common property, which can mean many things, for example:

  • A collection "children dictionary" contains words suitable for children.
  • The collection "ISO 639-3 codes" contains DefinedMeaning that are languages having an iso 639-3 code. This collection is used by omegawiki to find the language names and their translations.
  • The collection "Community Database class" contains DefinedMeaning that are classes in OmegaWiki (e.g. "language", "animal" are classes and are in that collection)

For more information, please see Help:Collection and/or ask.

Adding a collection[edit]

  1. Go to Special:AddCollection
  2. "Collection name": write the name of the collection that you want to create.
    • Please ensure that the spelling is ok. (But if it is wrong you can change it later on by editing the DefinedMeaning corresponding to the collection name.)
    • If the DM for that name exists, the system will automatically find it.
    • If the DM does not exist, the system will automatically create it.
  3. "Language of name": The language of the collection name you used above. If you wrote "My personal collection", then select "English". If you wrote "Ma collection personnelle" then select "French".
  4. "Collection type": If you don't know what you are doing, use the collection type "None".
    • "None" is the type for Children's dictionary or for Swadesh list.
    • If you know what you are doing, read below for more information :)
  5. "Dataset": We have only one dataset which is "Community".
    • Select "Community".
    • If you select "none", the dataset "Community" will be given by default anyway :)

Collection type ??[edit]

Here is an attempt by User:Kipcool to explain the different collection types, although I am not sure about all of them (so it might be partly inexact).

  1. "None" - most collections will be in that category. It is e.g. the type of collection for a Children's dictionary or for the "Swadesh list".
  2. CLAS: an object added to a collection of type CLAS becomes a class (e.g. animal or language). For example the Collection "Community_Database_class contains most class names used at OmegaWiki.
  3. LANG: an object added to a collection of type LANG is considered as a language which allows one to add lang-specific attributes (such as defining "part of speech" for that language so, it acts a bit like a class, but it is not possible to attach an object to that class manually this is done automatically when a word is known to belong to a language.
    For example, the collection ISO_639-3_codes is a LANG collection. "English" belongs to that collection, and as such, any word that is in English automatically belongs to the class "English".
  4. LEVL: I don't know. The collection Class attribute levels is of that type.
  5. MAPP: something to do with the mapping between different datasets. We don't use datasets anymore, so we don't need this. The collection Mapping is of that type.
  6. RELT: A collection for defining relations. hypernym belongs to the collection GEMET Environmental Thesaurus Relation Types which is of type RELT.