مساعدة:بوابة قيود الخواص/تصفيات إلزامية

From Wikidata
Jump to navigation Jump to search
This page is a translated version of the page Help:Property constraints portal/Required qualifiers and the translation is 57% complete.

يحدد required qualifier constraint (Q21510856) أن بعض المؤهل إلزامي لهذه الخاصية، للحد من مجموعة المؤهلات المسموح بها; استخدم قيد المؤهلات المسموح بها.

على سبيل المثال، يجب أن تحتوي بيانات head of state (P35) على مؤهل start time (P580).

إذا كانت الخاصية تحتوي أيضا على قيد التصفيات المسموح بها، يجب أيضا إدراج جميع التصفيات الإلزامية كمؤهلات مسموح بها هناك.

لا يمكن التحقق من هذا القيد إلا على القيمة الرئيسية للبيان، إذا تم تحديد أي constraint scope (P4680) آخر، يتم الإبلاغ عن خطأ.

الإجراءات الممكنة

هناك عدة طرق ممكنة لمعالجة انتهاك هذا القيد:

  • الحالة الأكثر احتمالا هي أنه تجب إضافة المؤهل المفقود، إذا لم تكن القيمة معروفة، فقد يكون من المنطقي استخدام unknown value Help.
  • من الممكن أن يكون هذا البيان استثناءً نادرا لكن شرعيا للقيود، ولا يجب فعل أي شيء.

الوسائط

لهذا القيد وسيط إلزامي واحد:

property (P2306)
يحتوي على التصفيات المطلوبة، يجب أن يحتوي على خاصية واحدة بالضبط (لا يُسمَح باستخدام no value Help أو unknown value Help)، لإضافة العديد من المؤهلات المطلوبة; أضف قيودا متعددة من هذا النوع.

Examples

Example 1

Example setting for population (P1082).

property constraint
Normal rank required qualifier constraint
property point in time
0 reference
add reference


add value

Example 2

Example setting for solubility (P2177).

property constraint
Normal rank required qualifier constraint
property solvent
0 reference
add reference
Normal rank required qualifier constraint
property temperature
0 reference
add reference


add value

Template

When the constraint is set to the property, the following template is automatically displayed in the property talk page. The template is created by Module:Constraints using Template:Constraint, invoked from Template:Property documentation. Translations are defined at Module:i18n/constraints.

Required qualifier “determination method (P459): this property should be used with the listed qualifier. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303).
List of violations of this constraint: Database reports/Constraint violations/P1082#mandatory qualifier, SPARQL

Lists

Lists of properties which are set item required qualifier constraint.