EDG Default Labels

42 views
Skip to first unread message

Matt Goldberg

unread,
Feb 23, 2022, 8:36:31 AM2/23/22
to TopBraid Suite Users
Hello-

We are interested in using skos:prefLabel, skos:altLabel, and skos:hiddenLabel everywhere with language tags in order to get rich lexical representations of everything. This works great in Taxonomy asset collections, as skos:prefLabel is used by default instead of rdfs:label. Is there a way to configure the remaining asset collection types to use/create skos:prefLabels by default instead of rdfs:label?

Thanks.

Holger Knublauch

unread,
Mar 8, 2022, 6:56:33 PM3/8/22
to topbrai...@googlegroups.com

Hi Matt,

sorry for the late response; I was on vacation and for some reason your message ended up in my junk filter!

The system in general will first look for skos:prefLabel when resources are rendered, so if you decide to use prefLabel over rdfs:label in, say, a Data Graph, that should work fine. However, you would need to also change the shape definitions (e.g. by marking the property shapes for rdfs:label as sh:deactivated true and then add skos:prefLabel instead) to see these on forms. And some Create dialogs would still be hard-coded to use rdfs:label. You could try to override those using https://www.topquadrant.com/doc/7.1/ext/points.html#constructors

Instead of replacing rdfs:label, another less radical approach is to simply add skos:altLabel (and hiddenLabel) where needed. This is far easier to set up and provides similar benefits.

Holger

--
You received this message because you are subscribed to the Google Groups "TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to topbraid-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/topbraid-users/c6462d84-93d8-4b20-bbba-bff790b3f991n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages