مساعدة:بوابة قيود الخواص/معكوس

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

يحدد inverse constraint (Q21510855) أن الخاصية لها خاصية عكسية، ويجب أن تحتوي قيم الخاصية على بيان بخاصية عكسية تشير إلى العنصر الأصلي.

على سبيل المثال، لـmother (P25) الخاصية العكسية child (P40): إذا كان البيان Jesus (Q302)mother (P25)Virgin Mary (Q345) موجودا، فيجب أيضا وجود البيان المعكوس Virgin Mary (Q345)child (P40)Jesus (Q302).

إذا لم يتم تحديد constraint scope (P4680)، يتم فحص هذا القيد فقط على القيمة الرئيسية لبيان، هذا هو أيضا النطاق الوحيد المدعوم حاليا.

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

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

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

الوسائط

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

property (P2306)
لها خاصية عكسية، يجب أن تحتوي على خاصية واحدة تماما (لا يُسمَح بـno value Help أو unknown value Help).

Example

Example setting for mother (P25).

property constraint
  inverse constraint
property child
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.

Inverse property of “child (P40):
if [item A] has this property (mother (P25)) linked to [item B],
then [item B] should also have property “child (P40)” linked to [item A]. (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/P25#inverse, SPARQL

Lists

Lists of properties which are set inverse constraint.