مساعدة:بوابة قيود الخواص/الادعاء الهدف مطلوب

This page is a translated version of the page Help:Property constraints portal/Target required claim and the translation is 67% complete.

يحدد value-requires-statement constraint (Q21510864) أن قيم هذه الخاصية يجب أن تحتوي على بيان آخر معين، القيد المكافئ للبند يحتوي على البيان هو عنصر يتطلب ادعاء.

على سبيل المثال، يجب أن تحتوي أيضا قيم البيان $58 على البيان sex or gender (P21) بالإضافة إلى البيان occupation (P106)screenwriter (Q28389).

إذا لم يتم تحديد constraint scope (P4680)، يتم فحص هذا القيد في كل مكان.

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

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

  • الحالة الأكثر احتمالا هي أن البيانات المفقودة يجب أن تُضَاف إلى عنصر القيمة.
  • من المحتمل ألا يحتوي هذا العنصر على البيان مطلقا، وأنه تجب إزالة البيان.
  • It’s possible that the wrong value item was chosen, e.g. The Beatles (Q3295515) instead of The Beatles (Q1299), and that the statement should be updated.
  • من الممكن أن يكون هذا البند استثناء نادرا لكن شرعيا للقيود، ولا يجب فعل أي شيء.


الوسائط

لهذا القيد وسيط اختياري واحد وواحد إجباري:

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

Examples

Example setting for film editor (P1040).

property constraint
  value-requires-statement constraint
property sex or gender
0 reference
add reference
  value-requires-statement constraint
property occupation
item of property constraint film editor
video editor
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.

Property “sex or gender (P21)” declared by target items of “PROPERTY CONSTRAINTS PORTAL/TARGET REQUIRED CLAIM/AR (Property constraints portal/Target required claim/ar): If [item A] has this property with value [item B], [item B] is required to have property “sex or gender (P21)”. (Help)
Exceptions are possible as rare values may exist. Exceptions can be specified using exception to constraint (P2303). Known exceptions: Cum Sexy Cum (Q111364989)
List of violations of this constraint: Database reports/Constraint violations/P1040#Target required claim P21, SPARQL, SPARQL (by value)

Lists

Lists of properties which are set value requires statement constraint.