Difference between revisions of "Help:Properties"
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
=== Concept === | === Concept === | ||
− | + | Properties are defined in a property page, and are registered with a P-number. You can see the type of property definition when you click on the property when logged in. And a list of available properties can be found in the special page [[Special:ListProperties|list properties]] | |
− | + | Properties are defined by: | |
+ | * data type (see further under Types of properties and values) | ||
+ | * order (this is the order they appear on the pages) | ||
+ | * visability (this makes them invisible for not logged in users) | ||
+ | * notes (extra info for developpers) | ||
+ | * a series of technical fields that support the development. | ||
− | + | The definition of the properties influences the functioning of the database, so these are only meant for reference, don't change anything there! | |
− | + | a property can be used multiple times, for example I can add a text in multiple languages, or I can add multiple texts for the same vallue. This is done by using the add value button that occurs under the property, once it is created. You will see in the definition of a specific property if multiple values are allowed. | |
− | + | === Types of properties and values === | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
We list the most important propety types below | We list the most important propety types below | ||
− | ==== | + | ==== Item==== |
an item property refers to a page descibing a concept. It links the item/page you are working in to another item/page. Because the items are language idependant, they will change the language of the text to your set language (if it is available). When you start typing the name, you will get proposals that fit your input, based on the labels and alternative labels in the target items. | an item property refers to a page descibing a concept. It links the item/page you are working in to another item/page. Because the items are language idependant, they will change the language of the text to your set language (if it is available). When you start typing the name, you will get proposals that fit your input, based on the labels and alternative labels in the target items. | ||
Line 73: | Line 26: | ||
* a value list, a range of values that are listed in a specific page | * a value list, a range of values that are listed in a specific page | ||
− | ==== | + | ==== Monolingual ==== |
Monolingual properties are expecting a value in one specific language. The language is noted in the property through a drop down menu. | Monolingual properties are expecting a value in one specific language. The language is noted in the property through a drop down menu. | ||
Line 82: | Line 35: | ||
* open text, any text is allowed. | * open text, any text is allowed. | ||
− | ==== | + | ==== String ==== |
a string property expects a language independant text. This can be for example a code or a reference. | a string property expects a language independant text. This can be for example a code or a reference. |
Latest revision as of 08:26, 26 May 2024
Contents
Concept
Properties are defined in a property page, and are registered with a P-number. You can see the type of property definition when you click on the property when logged in. And a list of available properties can be found in the special page list properties
Properties are defined by:
- data type (see further under Types of properties and values)
- order (this is the order they appear on the pages)
- visability (this makes them invisible for not logged in users)
- notes (extra info for developpers)
- a series of technical fields that support the development.
The definition of the properties influences the functioning of the database, so these are only meant for reference, don't change anything there!
a property can be used multiple times, for example I can add a text in multiple languages, or I can add multiple texts for the same vallue. This is done by using the add value button that occurs under the property, once it is created. You will see in the definition of a specific property if multiple values are allowed.
Types of properties and values
We list the most important propety types below
Item
an item property refers to a page descibing a concept. It links the item/page you are working in to another item/page. Because the items are language idependant, they will change the language of the text to your set language (if it is available). When you start typing the name, you will get proposals that fit your input, based on the labels and alternative labels in the target items.
values can be described as
- "text" (Qnr) this specific value is obligatory for this type of page
- a value list, a range of values that are listed in a specific page
Monolingual
Monolingual properties are expecting a value in one specific language. The language is noted in the property through a drop down menu.
Syntax (the value) can be described as
- a specific way of writing, for example "noun" or "verb - noun"
- a specific text, for example "copy of the ESCO title"
- open text, any text is allowed.
String
a string property expects a language independant text. This can be for example a code or a reference.
URL
a URL property expects a full URL, including the prefix (for example https://)
External identifier
An external identifier is a part of a URL that references to a specific page in a wabsite of data structure. The formatter URL described in the property will add this unique part to the rest of the URL and create a link. This ensures that if the URL is changed, the links stay active.
This is used for example to refer to documents or wikipages in the competencebase server.