Help:Property constraints portal/Label language/da

This page is a translated version of the page Help:Property constraints portal/Label language and the translation is 0% complete.

complex constraint label language (Q102746314) specifies that the labels of items using a property would generally be available in a given language.

It can be suitable for properties used on items relevant to a particular language. It can also be used to curate a property for users of a given language.

For example, items with the property Italian School ID (P5114) would generally have labels in Italian ("it"). This can be specified with the qualifier language of work or name (P407) and the item Italian (Q652) that includes the language code "it".

Contrary to standard property constraints, this constraint is added with has characteristic (P1552) on properties. As a complex constraint, it also requires the addition of {{Complex constraint}} to the property talk page. A task is open in Phabricator to implement this as a normal constraint.

The output is available only as a periodically updated report at Wikidata:Database_reports/Complex_constraint_violations.

Possible actions

The main report of constraint violations allows to do top-down analysis and find items lacking such labels. Sample corrections can be:

  • add labels

Also:

  • It’s possible that the constraint is no longer relevant for the language and should be removed.


A second report provides a summary by language of missing label.

Parameters

This constraint has one mandatory and one optional parameter:

language of work or name (P407)
Contains the item for the language with the language code as Wikimedia language code (P424) statement. It can contain several languages. no value Help or unknown value Help are not permitted.
syntax clarification (P2916)
Contains a human-readable description. Can be specified several times in different languages.

Examples

Example 1

The labels of items using Italian School ID (P5114) should generally be available in Italian.

has characteristic
Normal rank complex constraint label language
language of work or name Italian
0 references
add reference


add value

Example 2

The labels of items using Roman praenomen (P2358) should be available in Latin.

Template

To define the constraint, {{Complex constraint}} with a sparql query needs to be added to the property's talk page.

This can be done by adding:


{{subst:Define label language constraint}}

Lists