sparna-git / skos-testing-tool

A web UI to asses the quality of SKOS and SKOS-XL files. Frontend for qSKOS.
https://skos-play.sparna.fr/skos-testing-tool/
GNU Lesser General Public License v3.0
9 stars 1 forks source link

Overlapping Labels on altLabels #10

Open nikokaoja opened 3 years ago

nikokaoja commented 3 years ago

SKOS testing tool is reporting "ol - Overlapping Labels on altLabels" among several concepts that have same altLabel. I understand a need to not allow this for prefLabel among several concepts, but to my understanding of SKOS, several SKOS concepts can have the same altLables.

tfrancart commented 3 years ago

Hello

SKOS does not prohibit strictly homonyms amongst labels, be them pref or alts. it only contains this informal recommendation in the SKOS primer "Following common practice in KOS design, the preferred label of a concept may also be used to unambiguously represent this concept within a KOS and its applications. So even though the SKOS data model does not formally enforce it, it is recommended that no two concepts in the same KOS be given the same preferred lexical label for any given language tag."

The rationale in this test rule is that if a user searches using an homonym altLabel that can correspond to more than one concept, a disambiguation step would be necessary for him/her to select the correct concept, while it would not be needed if there are no homonyms.

The results of the SKOS testing tool are not as simple as pass/fail : the results of the rules need to be interpreted depending on your context. Sometimes it would be forbidden to have homonyms amongs altLabel, sometimes it is OK.

SKOS Play relies on QSkos for the validation, the description of this rule is at https://github.com/cmader/qSKOS/wiki/Quality-Issues#Overlapping_Labels

If you want to have specific validation rules for your terminology, you can write a SHACL file and use SHACL Play to validate your data : https://shacl-play.sparna.fr/play/

Best Regards Thomas

Le sam. 24 oct. 2020 à 12:06, Nikola Vasiljevic notifications@github.com a écrit :

SKOS testing tool is reporting "ol - Overlapping Labels on altLabels" among several concepts that have same altLabel. I understand a need to not allow this for prefLabel among several concepts, but to my understanding of SKOS, several SKOS concepts can have the same altLables.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sparna-git/skos-testing-tool/issues/10, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAU2H4KJZFEFWA7OJLJM5ODSMKRLTANCNFSM4S5PL7PQ .

--

Thomas Francart - SPARNA Web de données | Architecture de l'information | Accès aux connaissances blog : blog.sparna.fr, site : sparna.fr, linkedin : fr.linkedin.com/in/thomasfrancart tel : +33 (0)6.71.11.25.97, skype : francartthomas

nikokaoja commented 3 years ago

@tfrancart many thanks for feedback!

Good to know that I can make a custom set of validation rules.