Special property "Has uniqueness constraint"

From Linux Web Expert

Revision as of 01:50, 11 May 2022 by >Planetenxin (typo)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Has uniqueness constraint
Allows to restrict value annotation to be unique
Further Information
Provided by: extension "Semantic MediaWiki "No description was provided.
Added: 2.4.0
Removed: still in use
Alias: has no alias
Optional: yes
Visible: yes
Annotable: yes
Declarative: yes
Key: _PVUC
Setting: SMW_DV_PVUC
Focus: property restriction
In this wiki: Property:Has uniqueness constraint
Table of Contents

Template:Interlanguagelink: en The "Has uniqueness constraint" property is a special property in Semantic MediaWiki which got introduced with Semantic MediaWiki 2.4.0Released on an unknown date unknown versions of MediaWiki1 and indicates that value assignments (annotations) to a property are expected to be unique. i.e. a specific data value for the respective property can only be added to one page. Semantic MediaWiki 2.5.0Released on an unknown date unknown versions of MediaWiki2 made this feature more strict to only allow a data value for the respective property be added once.

Features and limitations

Usage

Add the following code to the property page:

[[Has uniqueness constraint::true]]

Examples

Template:Interlanguagelink:en

#scite could not render a citation text for reference "gh:smw:1463" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:2113" because type "pullrequest" was not assigned to a template.
#scite could not render a citation text for reference "gh:smw:2167" because type "pullrequest" was not assigned to a template.

References

  1. ^ gh:smw:1463 
  2. ^ gh:smw:2113 
  3. ^ gh:smw:2167 
  4. ^  "A functional property is a property that can have only one (unique) value y for each instance x, i.e. there cannot be two distinct values y1 and y2..." described by https://www.w3.org/TR/2004/REC-owl-ref-20040210/#FunctionalProperty-def