Property talk:P219

From Wikidata
Jump to: navigation, search

Documentation

ISO 639-2 code
identifier for a language or macrolanguage or language family language, defined in ISO 639-2 standard, 3-letter technical or bibliographical  code
Description ISO 639-2 code for a language
Represents no label (Q33309325), ISO 639-2 (Q721667)
Data type External identifier
Template parameter iso2 in w:en:Template:Infobox language
Domain
According to this template: languoid (Q17376908) (form of language)
According to statements in the property:
languoid (Q17376908)
When possible, data should only be stored as statements
Allowed values [a-z]{3}
Example Japanese (Q5287)jpn
Source w:en:List of ISO 639-2 codes (note: this information should be moved to a property statement; use property source website for the property (P1896))
Formatter URL http://www-01.sil.org/iso639-3/documentation.asp?id=$1
Tracking: usage Category:Pages using Wikidata property P219 (Q26249997)
See also ISO 639-1 code (P218), ISO 639-3 code (P220), ISO 639-5 code (P1798), ISO 639-6 code (P221)
Lists
Proposal discussion Property proposal/Archive/3#P219
Current uses 491
[create] Create a translatable help page (preferably in English) for this property to be included here
Format “|[a-z]{3}”: value must be formatted using this pattern (PCRE syntax).
List of this constraint violations: Database reports/Constraint violations/P219#Format, hourly updated report, SPARQL
Type “languoid (Q17376908): element must contain property “instance of (P31)” with classes “languoid (Q17376908)” or their subclasses (defined using subclass of (P279)).
Exceptions are possible as rare values may exist. Known exceptions: constructed language (Q33215)
List of this constraint violations: Database reports/Constraint violations/P219#Type Q17376908, SPARQL
Single value: this property generally contains a single value.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P219#single value, SPARQL
Distinct values: this property likely contains a value that is different from all other items.
Exceptions are possible as rare values may exist.
List of this constraint violations: Database reports/Constraint violations/P219#distinct values, SPARQL (every item), SPARQL (by value)
Item “IETF language tag (P305): Items with this property should also have “IETF language tag (P305)”.
List of this constraint violations: Database reports/Constraint violations/P219#Item P305, hourly updated report, SPARQL
Without qualifiers: this property should be used without any qualifiers.
List of this constraint violations: Database reports/Constraint violations/P219#Allowed qualifiers, hourly updated report

single value[edit]

this property is marked as single value. however, there are languages, that have synonyms (e.g ger for german, which usually is deu, see en:List_of_ISO_639-2_codes). should the synonyms be removed or the single value constraint? --Akkakk 13:06, 7 July 2013 (UTC)

In no case the synonyms should be removed, because they are also part of the standard (if I understand correctly, they even are not synonyms but both equivalent). I think it should somehow be noted which of the codes is the bibliographic and the terminologic one respectively. --Maix (talk) 02:58, 30 October 2013 (UTC)
I suppose the constraint should be removed. --Infovarius (talk) 10:09, 3 December 2013 (UTC)
I was bold and done it. --Infovarius (talk) 06:23, 12 December 2013 (UTC)

constraint report relating to Wikimedia disambiguation page (Q4167410)[edit]

If instance of (P31) is a Wikimedia disambiguation page (Q4167410) the presence of ISO 639-2 code (P219) is prohibited.

see: Wikimedia disambiguation page (Q4167410) with ISO 639-2 (P219) gangLeri לערי ריינהארט (talk) 15:20, 19 May 2014 (UTC)