Help:Entities: Difference between revisions
Entities and Lexemes |
JSON information |
||
Line 1: | Line 1: | ||
<b>Entities</b> are the objects used to internally store Wikibase items. An entity consists of a particular data structure serialized into JSON format inside a MediaWiki page. | <b>Entities</b> are the objects used to internally store Wikibase items. An entity consists of a particular data structure [https://doc.wikimedia.org/Wikibase/master/php/docs_topics_json.html serialized into JSON format] inside [https://doc.wikimedia.org/Wikibase/master/php/docs_storage_entities.html a MediaWiki page]. | ||
Each entity is indexed under a fixed number beginning with one of three letters: Q (Item), P (Property), L (Lexeme). There is not currently any way to create new letter prefixes for more specific usages. | Each entity is indexed under a fixed number beginning with one of three letters: Q (Item), P (Property), L (Lexeme). There is not currently any way to create new letter prefixes for more specific usages. | ||
Line 9: | Line 9: | ||
== Lexemes == | == Lexemes == | ||
A Lexeme is an entity designed to contain all inflections of a given linguistic term as well as every definition of that same set of conjugations. | A Lexeme is an entity [https://www.mediawiki.org/wiki/Extension:WikibaseLexeme/Data_Model designed] to contain all inflections of a given linguistic term as well as every definition of that same set of conjugations. | ||
Lexemes are distinguished from each other by grammatical category plus language. For languages without grammatical gender, major grammatical categories may include <i>noun</i> versus <i>verb</i> or <i>adjective</i>, while for languages with grammatical gender, nouns may also be divided into genders including <i>masculine nouns</i> and <i>feminine nouns</i>. | Lexemes are distinguished from each other by grammatical category plus language. For languages without grammatical gender, major grammatical categories may include <i>noun</i> versus <i>verb</i> or <i>adjective</i>, while for languages with grammatical gender, nouns may also be divided into genders including <i>masculine nouns</i> and <i>feminine nouns</i>. | ||
Line 17: | Line 17: | ||
In order to use Lexemes, the [https://www.mediawiki.org/wiki/Extension:WikibaseLexeme WikibaseLexeme] extension must be installed. | In order to use Lexemes, the [https://www.mediawiki.org/wiki/Extension:WikibaseLexeme WikibaseLexeme] extension must be installed. | ||
Latest revision as of 00:32, 14 January 2025
Entities are the objects used to internally store Wikibase items. An entity consists of a particular data structure serialized into JSON format inside a MediaWiki page.
Each entity is indexed under a fixed number beginning with one of three letters: Q (Item), P (Property), L (Lexeme). There is not currently any way to create new letter prefixes for more specific usages.
Items[edit]
Properties[edit]
Lexemes[edit]
A Lexeme is an entity designed to contain all inflections of a given linguistic term as well as every definition of that same set of conjugations.
Lexemes are distinguished from each other by grammatical category plus language. For languages without grammatical gender, major grammatical categories may include noun versus verb or adjective, while for languages with grammatical gender, nouns may also be divided into genders including masculine nouns and feminine nouns.
In order to use Lexemes, the WikibaseLexeme extension must be installed.