Difference between revisions of "Help:Properties"

From CompetenceBase
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
=== Concept ===
 
=== Concept ===
  
The underlaying structure of the Competencebase is a triplet database, similar to and built with Wikidata software. It consists of items that are connected with properties through statements. We can also add properties to an item that just describe the item in detail. In human language, we have a large box of “things” that have properties and are connected to each other by relations.
+
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]]
  
Statements can connect two “things”, for example a competence "read plans" has a learning unit "lines and symbols". Statements always have three elements, an item, a property and a value, therefore we call them triplets.
+
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.
  
Each item has it’s own page, defined by a Q-number. So when we add a statement to an item, we only need to add two things: the property and a value.
+
The definition of the properties influences the functioning of the database, so these are only meant for reference, don't change anything there!
  
====Items====
+
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.
  
Items are concepts, things in the widest sense of the word. The concepts are language independent. A competence is a concept that exists in many languages, expressed by many different words, but it will always have the same meaning.
+
=== Types of properties and values ===
 
 
Each concept / item has its unique Q number; this is the number of the page and also appears in the URL.
 
 
 
The concept is defined in the header by a label, a description and one or more also known as labels.
 
 
 
* '''Label''' is the most common name for the concept in a specific language .
 
* '''Description''' is a statement that describes the concept so that there can be no misunderstanding about the meaning and that the difference with other concepts is clear.
 
* '''Also known as''', also called alternative label gives alternative names for the concept.
 
 
 
Labels and descriptions of a concept occur in as many languages as the system knows and that have been added.
 
 
 
 
 
properties and qualifiers
 
 
 
inverse property label
 
 
 
=== types of properties and values ===
 
 
 
you can see the type of property when you click on the property when logged in.
 
 
 
a property can be used multiple times, for exaple 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.
 
 
 
A list of properties can be found in the special page [[Special:ListProperties|list properties]]
 
  
 
We list the most important propety types below
 
We list the most important propety types below
  
==== item====
+
==== 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 44: 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 ====
  
 
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 53: Line 35:
 
* open text, any text is allowed.
 
* open text, any text is allowed.
  
==== string ====
+
==== 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

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.

Wikidata