thiemowmde added a comment.

> Can somebody formulate the reason(s) for the uniqueness contraints


I will try. Here is what I understand.

For properties:

- ( language + label ): Labels act as identifiers, because properties are 
usually shown with their label and nothing else (no id, no description) in 
property-value pairs.
- ( language + alias ): I wonder where this comes from. Aliases are unique per 
entity, but different properties can have the same aliases. This is still 
useful in search results and suggesters, given they show perfect matches first.

For items:

- ( language + label + description ): This reflects what we learned from 
Wikipedia. Concepts with the same label exist (e.g. 
http://en.wikipedia.org/wiki/Albert_Einstein_(album) ) and must be allowed. The 
description is the tool to make these otherwise indistinguishable concepts 
distinguishable in search results and suggesters.
- ( siteid + page ): Each item should describe one (and only one) concept. So 
should each linked page. We know this is not true for all pages, but we decided 
that not having this constraint would be much more painful than having it. This 
reflects what was done with on-page sitelinks before: syncing sitelinks (e.g. 
via bot) got screwed if two enwiki pages pointed to the same dewiki page. The 
dewiki page can not point back to the two enwiki pages.


TASK DETAIL
  https://phabricator.wikimedia.org/T75603

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: daniel, thiemowmde
Cc: thiemowmde, Spage, Abraham, Tobi_WMDE_SW, Snaterlicious, Wikidata-bugs, 
mkroetzsch, JeroenDeDauw, JanZerebecki, aude, Aklapper, Liuxinyu970226, Lucie, 
Lydia_Pintscher, daniel



_______________________________________________
Wikidata-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to