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

This page is a translated version of the page Help:Property constraints portal/Single value and the translation is 47% complete.

يحدد single-value constraint (Q19474404) أن الخاصية بشكل عام لا تحتوي إلا على قيمة واحدة فقط.

على سبيل المثال، العديد من المعرفات (ISNI (P213)، Freebase ID (P646)، …) ستكون لها عموما قيمة واحدة فقط، بالإضافة إلى العديد من الخصائص غيير المعرفات مثل place of birth (P19) وplace of death (P20).

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

إذا أدرجت المصادر العديد من place of birth (P19) وplace of death (P20) المحتملة، فيمكن إدراج جميع القيم ويجب عدم إزالتها، يمكن وسم القيمة الأكثر موثوقية بالرتبة المفضلة; للسماح لمعيدي استخدام البيانات بالحصول على قيمة واحدة بدلا من الحصول على قيم متعددة، يجب وسم البيانات المدعومة من قبل المصادر ويُعتقَد أنها غير صحيحة بترتيب موقوف.

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

يمكن تعريف المؤهل كـseparator (P4155)، يسمح هذا بقيم متعددة عند استخدام هذه التصفيات.

There are several possible ways to address a violation of this constraint:

  • من الممكن أن ينتمي أحد البيانات إلى عنصر آخر (مثل، ISNI (P213) لشخص آخر)، ويجب نقله إلى العنصر الآخر (الذي قد يلزم إنشاؤه).
  • It’s possible that the item conflates multiple topics. Split the item to multiple items.
  • من المحتمل أن يكون أحد هذه البيانات غير صحيح ويجب تعيينه إلى رتبة موقوف (على سبيل المثال، place of birth (P19) معروف، ولكن كثيرا ما يتم الإبلاغ عن خطأ في القيمة الحالية).
  • It’s possible that the external site have duplicated record for a topic. This should be reported to external site.
  • If the violation is on a qualifier, it is possible that there should be two (or more) statements with one qualifier each, instead of one statement with two (or more) qualifiers using the same property. For instance, if a person received an award more than once, they should have several award received (P166) statements with one point in time (P585) qualifier each, not one award received (P166) statement with several point in time (P585) qualifiers. Likewise, a reference might need to be split up.
  • من المحتمل أنه separator (P4155) (أو عديدا منهم) ينبغي تعريفها للقيد، للإعلان عن أن القيم المتعددة مقبولة طلما أنها لها معرفات مختلفة.
  • لو أن القيد يحدد separator (P4155) قانوني (أو مجموعة منها)، فمن المحتمل أن تتم إضافة هذا المعرف للبيان.
  • من الممكن أن يكون هذا البند استثناء نادرا لكن شرعيا للقيود، ولا يجب فعل أي شيء.

الوسائط

لهذا القيد وسيط اختياري واحد

separator (P4155)
Contains the separators. May contain one or more properties. If specified, multiple statements with the same value do not constitute a violation of this constraint as long as they have different qualifiers for the properties specified here.

Examples

Example 1

No parameter.

property constraint
  single-value constraint
0 reference
add reference


add value

Example 2 - separator

With separator (P4155) parameter. For example, the capital (P36) may relocate to different place.

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.

Single value: this property generally contains a single value. (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/P646#Single value, SPARQL

Lists

Lists of properties which are set single value constraint.